Skip to content

Fix update partition spec with only rename changes#2007

Merged
rdblue merged 2 commits intoapache:masterfrom
jun-he:jun/fix-update-spec-rename
Dec 31, 2020
Merged

Fix update partition spec with only rename changes#2007
rdblue merged 2 commits intoapache:masterfrom
jun-he:jun/fix-update-spec-rename

Conversation

@jun-he
Copy link
Collaborator

@jun-he jun-he commented Dec 30, 2020

Fix update partition spec with only rename changes by treating the new spec as incompatible one.

@jun-he
Copy link
Collaborator Author

jun-he commented Dec 30, 2020

@rdblue @aokolnychyi can you take a look? Thanks.

.truncate("id", 4, "id_trunc_4")
.build();
Assert.assertEquals("should match evolved spec", evolvedSpec, table.spec());
Assert.assertEquals(1002, table.spec().lastAssignedFieldId());
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems like it should be its own test case. Could you move it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated. Thanks.

@rdblue rdblue merged commit fb22252 into apache:master Dec 31, 2020
@rdblue
Copy link
Contributor

rdblue commented Dec 31, 2020

Thanks, @jun-he! I merged this.

@jun-he jun-he deleted the jun/fix-update-spec-rename branch January 1, 2021 06:47
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

Comments