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

Head commit for run:
21ba4199482dd82310aaec0dee8b79d98fcc3ea7 / Harsh Sharma <[email protected]>
Align toBranch() with SnapshotProducer: default to MAIN_BRANCH and reject null

This change aligns RewriteDataFilesSparkAction.toBranch() with the core
Iceberg API behavior in SnapshotProducer.targetBranch():
- Default branch to SnapshotRef.MAIN_BRANCH instead of null
- Reject null branch with IllegalArgumentException
- Remove null-check guards that are no longer needed

Since RewriteDataFilesSparkAction eventually calls rewrite.toBranch()
which invokes SnapshotProducer.targetBranch(), having consistent
behavior at the action level prevents confusion and potential runtime
errors.

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

With regards,
GitHub Actions via GitBox

Reply via email to