Skip to content

Core: Remove unused method accidentally added to TableMetadata - #4155

Merged
aokolnychyi merged 1 commit into
apache:0.13.xfrom
wypoon:4135_followup
Feb 18, 2022
Merged

Core: Remove unused method accidentally added to TableMetadata#4155
aokolnychyi merged 1 commit into
apache:0.13.xfrom
wypoon:4135_followup

Conversation

@wypoon

@wypoonwypoon commented Feb 17, 2022

Copy link
Copy Markdown
Contributor

#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.

@rdbluerdblue left a comment

Copy link
Copy Markdown
Contributor

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.

@wypoonwypoon changed the title Core: Remove unused methods in TableMetadataCore: Remove unused method accidentally added to TableMetadataFeb 17, 2022
@wypoon

Copy link
Copy Markdown
ContributorAuthor

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
Copy Markdown
Contributor

Thanks, @wypoon!

@aokolnychyi
aokolnychyi merged commit b2a9a68 into apache:0.13.xFeb 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 freeto 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

@wypoon@rdblue@aokolnychyi