ad1happy2go commented on issue #9050: URL: https://github.com/apache/hudi/issues/9050#issuecomment-1606634740
@neerajpadarthi I was able to reproduce this issue with Hudi 0.11.X versions of hudi but it got fixed with hudi 0.12.x. Code - ``` val path="file:///tmp/output/issue_9050_5" val dt = spark.sql(""" select cast(1 as bigint) as line_item_id,cast(1 as bigint) as transaction_id,cast(1 as bigint) as invoice_type, 1 as _hudi_last_update """) val options = Map( "hoodie.table.name" -> "line_items", "hoodie.datasource.write.recordkey.field" -> "line_item_id,transaction_id", "hoodie.datasource.write.precombine.field" -> "line_item_id", "hoodie.metadata.enable" -> "true", "hoodie.metadata.index.column.stats.enable" -> "true", "hoodie.metadata.index.bloom.filter.enable" -> "true", "hoodie.datasource.write.keygenerator.class" -> "org.apache.hudi.keygen.NonpartitionedKeyGenerator", "hoodie.parquet.max.file.size" -> "125829120", "hoodie.parquet.small.file.limit" -> "104857600", "hoodie.index.type" -> "BLOOM", "hoodie.bloom.index.use.metadata" -> "true", "hoodie.datasource.write.operation" -> "upsert", "hoodie.cleaner.policy" -> "KEEP_LATEST_COMMITS", "hoodie.upsert.shuffle.parallelism" -> "750", "hoodie.cleaner.commits.retained" -> "168", "hoodie.keep.min.commits" -> "173", "hoodie.keep.max.commits" -> "174" ) dt.write.options(options).format("hudi") .mode("append") .save(path) val dt1 = spark.sql(""" select cast(1 as bigint) as line_item_id,cast(1 as bigint) as transaction_id,cast(2 as bigint) as invoice_type, 2 as _hudi_last_update """) dt1.write.options(options).format("hudi") .mode("append") .save(path) spark.read.format("hudi").load(path).show() ``` -- 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