zhangyue19921010 opened a new pull request, #11207: URL: https://github.com/apache/paimon/pull/11207
### Purpose Fixes #11206. A higher-level run restored from batch commit messages can contain files written with different clustering columns. Full clustering skips the entire run when its first file uses the current columns, leaving other files clustered by older columns. Check every distinct producing schema before skipping. Retain the skip when all schemas use the same clustering columns. ### Tests A Java table regression collects real files written across a clustering-column change, then runs full compaction. On unchanged `00b4d05a`, placing the current-schema file first leaves two files and fails; reversing the order passes. Both pass with the fix and verify the six `b` values and the rewritten single-file order. A third case changes only compression across schemas and keeps the files unchanged. 19 selected table, strategy and manager tests pass on JDK 11.0.18. Maven `verify` passes Checkstyle, Spotless, Enforcer and RAT without `fast-build`. AI-generated with TRAE CLI (GPT-6.1-Sol). -- 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]
