Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spark 3.5: Add ignore-invalid-options to RewriteDataFilesSparkAction and RewritePositionDeleteFilesSparkAction #11737

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

manuzhang
Copy link
Contributor

This PR adds a new option ignore-invalid-options to RewriteDataFilesSparkAction and RewritePositionDeleteFilesSparkAction.

It can be useful when we canary-release a new Iceberg version with new options for the above two actions.

basicRewrite(table)
.option("ignore-invalid-options", "true")
.option("foobarity", "-5")
.execute();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also test the default behavior of ignore-invalid-options, similar to what you did in TestRewritePositionDeleteFilesAction.testIgnoreInvalidOptions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's covered by testInvalidOptions() above.

@manuzhang
Copy link
Contributor Author

@ajantha-bhat @RussellSpitzer @nastra Please help review whether this is a valid request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants