Skip to content

Conversation

@wypoon
Copy link
Contributor

@wypoon wypoon commented Feb 17, 2022

#4135 fixed a regression in 0.13.x by porting part of #4089, but accidentally added an unused method to TableMetadata. We remove it in this follow-up.

Copy link
Contributor

@rdblue rdblue left a comment

Choose a reason for hiding this comment

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

I don't think this should remove addStagedSnapshot or replaceCurrentSnapshot(Snapshot) because 0.13.1 is a patch release. It's okay to remove them in master, but I wouldn't do it here. Instead, I'd say we should only remove the method that was accidentally added.

@wypoon wypoon changed the title Core: Remove unused methods in TableMetadata Core: Remove unused method accidentally added to TableMetadata Feb 17, 2022
@wypoon
Copy link
Contributor Author

wypoon commented Feb 17, 2022

I don't think this should remove addStagedSnapshot or replaceCurrentSnapshot(Snapshot) because 0.13.1 is a patch release. It's okay to remove them in master, but I wouldn't do it here. Instead, I'd say we should only remove the method that was accidentally added.

Restored those methods. Only remove the one added by #4135.

@rdblue
Copy link
Contributor

rdblue commented Feb 17, 2022

Thanks, @wypoon!

@aokolnychyi aokolnychyi merged commit b2a9a68 into apache:0.13.x Feb 18, 2022
vanliu-tx pushed a commit to BKBASE-Plugin/iceberg that referenced this pull request Mar 30, 2022
samarthjain pushed a commit to samarthjain/incubator-iceberg that referenced this pull request Apr 6, 2022
vanliu-tx pushed a commit to BKBASE-Plugin/iceberg that referenced this pull request May 11, 2022
sunchao pushed a commit to sunchao/iceberg that referenced this pull request May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants