97harsh opened a new pull request, #14964:
URL: https://github.com/apache/iceberg/pull/14964
This commit adds branch support to the rewrite_data_files Spark SQL
procedure, allowing users to rewrite data files on specific branches instead of
only the main branch.
Changes:
- Core: Updated RewriteDataFilesCommitManager to accept and apply branch
parameter
- Action: Added toBranch() method to RewriteDataFilesSparkAction
- Procedure: Added branch parameter to all Spark versions (v3.4, v3.5, v4.0,
v4.1)
Users can now specify branches in two ways:
1. Via table identifier: CALL
system.rewrite_data_files('db.table.branch_myBranch')
2. Via explicit parameter: CALL system.rewrite_data_files(table =>
'db.table', branch => 'myBranch')
Closes #14813
--
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]