codope commented on issue #7294: URL: https://github.com/apache/hudi/issues/7294#issuecomment-1330111435
Attempted to reproduce with below script (note that I created table with 0.11.1 and did insert with 0.12.1), the issue described by the OP is reproducible but upgrade doesn't override the keygen prop in hoodie.properties. ``` import org.apache.spark.sql.SaveMode._ import org.apache.hudi.DataSourceWriteOptions._ import org.apache.hudi.DataSourceWriteOptions import org.apache.hudi.DataSourceReadOptions._ import org.apache.hudi.DataSourceReadOptions import org.apache.hudi.QuickstartUtils._ import org.apache.spark.sql.DataFrame spark.sql("""create table f_test111( id string, name string, age string, salary string, upd_ts string, job string ) using hudi partitioned by (job) location 'file:///tmp/f_test111/' options ( type = 'cow', primaryKey = 'id,name', preCombineField = 'upd_ts' )""") spark.sql("""insert into f_test111 values('a1', 'sagar', '32', '1000', '100', 'se')""") ``` -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org