Skip to content

Conversation

@manuzhang
Copy link
Member

@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
Member Author

manuzhang commented Jul 27, 2023

@jackye1995 @hililiwei please help review this idea.

@manuzhang manuzhang force-pushed the set_current_snapshot_tag branch from 8fb8ff3 to 1d6a7c9 Compare August 1, 2023 02:55
@manuzhang manuzhang force-pushed the set_current_snapshot_tag branch from 1d6a7c9 to 744d706 Compare August 8, 2023 07:11
@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
Member Author

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

@manuzhang
Copy link
Member 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