zhangyue19921010 opened a new pull request, #11258: URL: https://github.com/apache/paimon/pull/11258
### Purpose Primary-key snapshot diffs can miss deletes recorded only in deletion vectors: the planner removes a shared data file from both sides even though its visible rows changed. They can also report an update whose value did not change. Compare the deletion-file descriptors before pruning shared files from primary-key diffs. Files whose descriptors are unchanged remain pruned. Fixes #11257 ### Tests Six real-table cases cover audit-log deletes, repeated vector changes, changed and unchanged values, unchanged-vector file pruning, and a non-DV control. On unchanged master, three regressions fail and three controls pass; all six pass with the patch. All 23 selected table, timestamp-incremental, snapshot-reader, streaming follow-up, and audit-log tests pass on JDK 11 with normal Maven `verify`, including Checkstyle, Spotless, Enforcer, and RAT. -- 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]
