The GitHub Actions job "Spark CI" on 
iceberg.git/feature/rewrite-data-files-branch-support has failed.
Run started by GitHub user 97harsh (triggered by 97harsh).

Head commit for run:
efb1d57c7d45e35e8c4e36f4f146a5905f404df6 / Harsh Sharma <[email protected]>
Fix rewrite_data_files to use branch snapshot instead of main

When rewrite_data_files was called with a branch parameter, the planner
incorrectly used the main branch's snapshot to scan for files to compact,
while the commit targeted the specified branch. This caused validation
failures when branches diverged.

The fix ensures RewriteDataFilesSparkAction.execute() uses the branch's
snapshot ID when a branch is specified, allowing the planner to correctly
identify and compact files from the branch.

This change applies to all Spark versions (3.4, 3.5, 4.0, 4.1) and fixes
all rewrite strategies (binpack, sort, z-order) since they all rely on
the snapshot ID passed from RewriteDataFilesSparkAction.

Report URL: https://github.com/apache/iceberg/actions/runs/20719733915

With regards,
GitHub Actions via GitBox

Reply via email to