JingsongLi commented on PR #9370:
URL: https://github.com/apache/paimon/pull/9370#issuecomment-5462524376

   Spark's fast-write path still relies on the table-level 
`coreOptions.bucket()` setting rather than routing based on partition-to-bucket 
mappings; this can lead to errors or data being written to the incorrect bucket 
when partitions have varying bucket counts. The documentation itself 
acknowledges a risk of data corruption—an issue that cannot be mitigated simply 
by following usage guidelines. Another edge case arises in 
`PartitionEntry.merge`: when creation times are identical, the logic defaults 
to the larger bucket count, potentially causing the old layout to be retained 
during downscaling operations.


-- 
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