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.4: Support setting current snapshot with ref #8163

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

manuzhang
Copy link
Contributor

@manuzhang manuzhang commented Jul 27, 2023

set_current_snapshot procedure currently only supports setting snapshot with id. It's much more convenient for users to set snapshot with ref (e.g. use date as a tag for a daily job). This PR adds support for that.

@github-actions github-actions bot added the spark label Jul 27, 2023
@manuzhang manuzhang changed the title Spark 3.4: Support setting current snapshot to tag Spark 3.4: Support setting current snapshot with tag Jul 27, 2023
@manuzhang
Copy link
Contributor Author

manuzhang commented Jul 27, 2023

@jackye1995 @hililiwei please help review this idea.

@manuzhang manuzhang changed the title Spark 3.4: Support setting current snapshot with tag Spark 3.4: Support setting current snapshot with ref Aug 8, 2023
@aokolnychyi
Copy link
Contributor

I had two minor comments but it looks good otherwise.

@github-actions github-actions bot added the docs label Aug 9, 2023
@manuzhang
Copy link
Contributor Author

@aokolnychyi comments addressed and I've also updated the docs.

@manuzhang
Copy link
Contributor Author

@aokolnychyi can you help take another look?

@aokolnychyi aokolnychyi merged commit cf358a4 into apache:master Aug 15, 2023
@aokolnychyi
Copy link
Contributor

Thanks, @manuzhang! Thanks for reviewing, @nastra!

manuzhang added a commit to manuzhang/iceberg that referenced this pull request Aug 25, 2023
Back-port of apache#8163 to `spark/v3.3`, `spark/v3.2` and `spark/v3.1`
manuzhang added a commit to manuzhang/iceberg that referenced this pull request Aug 25, 2023
Back-port of apache#8163 to `spark/v3.3`, `spark/v3.2` and `spark/v3.1`
manuzhang added a commit to manuzhang/iceberg that referenced this pull request Aug 25, 2023
Back-port of apache#8163 to `spark/v3.3`, `spark/v3.2` and `spark/v3.1`
manuzhang added a commit to manuzhang/iceberg that referenced this pull request Aug 25, 2023
Back-port of apache#8163 to `spark/v3.3`, `spark/v3.2` and `spark/v3.1`
manuzhang added a commit to manuzhang/iceberg that referenced this pull request Aug 26, 2023
Back-port of apache#8163 to `spark/v3.3`, `spark/v3.2` and `spark/v3.1`
@manuzhang manuzhang deleted the set_current_snapshot_tag branch March 26, 2024 15:02
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.

4 participants