jonvex commented on PR #7324:
URL: https://github.com/apache/hudi/pull/7324#issuecomment-1371159746

   It seems like this was fixed by 7326. I tested the following steps in master 
and with 0.12.1 and it failed in 0.12.1 and worked in master
   
   ```
   create table test_table2 (
       id int,
       dt string,
       name string,
       price double,
       ts long
   ) using hudi
   tblproperties (
       primaryKey = 'id',
       type = 'cow',
       preCombineField = 'ts',
       'hoodie.datasource.meta.sync.enable' = 'false',
       'hoodie.datasource.hive_sync.enable' = 'false',
       'hoodie.schema.on.read.enable' = 'true'
   )
   partitioned by (dt)
   location '/tmp/schema_evo/test_table2';
   
   insert into test_table2 values
   (1, 'a1', 10, 100, "2021-01-05"),
   (2, 'a2', 20, 2000, "2021-01-06"),
   (3, 'a3', 30, 3000, "2021-01-07");
   
   set hoodie.datasource.write.reconcile.schema=true;
   
   insert into test_table2 values
   (4, 'a4', 14, 104, "2021-01-05"),
   (5, 'a5', 25, 2050, "2021-01-06"),
   (6, 'a6', 36, 3060, "2021-01-07");
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to