You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/02/10 03:03:00 UTC
[jira] [Updated] (HUDI-5759) Hudi do not support add column on mor table with log
[ https://issues.apache.org/jira/browse/HUDI-5759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HUDI-5759:
---------------------------------
Labels: pull-request-available (was: )
> Hudi do not support add column on mor table with log
> ----------------------------------------------------
>
> Key: HUDI-5759
> URL: https://issues.apache.org/jira/browse/HUDI-5759
> Project: Apache Hudi
> Issue Type: Bug
> Components: spark
> Reporter: Qijun Fu
> Priority: Major
> Labels: pull-request-available
>
> We test the following sqls in the latest master branch
> ```sql
> create table h0 (
> id int,
> name string,
> price double,
> ts long
> ) using hudi
> options (
> primaryKey ='id',
> type = 'mor',
> preCombineField = 'ts'
> )
> partitioned by(ts)
> location '/tmp/h0';
> insert into h0 select 1, 'a1', 10, 1000;
> update h0 set price = 20 where id = 1;
> alter table h0 add column new_col1 int;
> update h0 set price = 22 where id = 1;
> select * from h0;
> ```
> And found that we can't read the table after add column and update.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)