huaxingao opened a new pull request, #15975: URL: https://github.com/apache/iceberg/pull/15975
Fixes #14458 During a full table copy, RewriteTablePathSparkAction builds deltaSnapshotIds from endMetadata.snapshots(), which excludes expired snapshots. Since entry.snapshotId() records the adding snapshot, live files whose adding snapshot was expired are excluded from the copy plan, resulting in a broken table at the target location. This fix makes the snapshotIds filter nullable in RewriteTablePathUtil. For full copies (startMetadata == null), null is passed to skip the filter and include all live entries in the copy plan. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
