ad1happy2go commented on issue #9902: URL: https://github.com/apache/hudi/issues/9902#issuecomment-1775072273
@zyclove Thanks for raising this. Looks like compaction is throwing out this Exception with those schema configuration. I will try to triage this. Can you help us with some sample data or sample script which can help us to reproduce this issue. I tried to reproduce using below code and see compaction happening fine - ``` SET hoodie.schema.on.read.enable=true; SET hoodie.datasource.write.reconcile.schema=true; SET hoodie.avro.schema.validate=true; SET hoodie.datasource.write.new.columns.nullable=true; CREATE TABLE hudi_table ( ts BIGINT, uuid STRING, rider STRING, driver STRING, fare DECIMAL(10,4), city STRING ) USING HUDI tblproperties ( type = 'mor', primaryKey = 'uuid', preCombineField = 'ts' ,hoodie.datasource.write.new.columns.nullable = 'true' ,hoodie.avro.schema.validate = 'true' ,hoodie.schema.on.read.enable = 'true' ,hoodie.datasource.write.reconcile.schema = 'true' ) PARTITIONED BY (city); -- Tried multiple insert commands with multiple values and confirmed compaction is happening fine. INSERT INTO hudi_table VALUES (1695159649087,'334e26e9-8355-45cc-97c6-c31daf0df330','rider-A','driver-K',100001.0001,'san_francisco'), (1695091554788,'e96c4396-3fad-413a-a942-4cb36106d721','rider-C','driver-M',100001.0001 ,'san_francisco'); ``` -- 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