Skip to content

Iceberg minor cleanup#12767

Merged
findepi merged 3 commits intotrinodb:masterfrom
findepi:findepi/iceberg-minor-cleanup
Jun 9, 2022
Merged

Iceberg minor cleanup#12767
findepi merged 3 commits intotrinodb:masterfrom
findepi:findepi/iceberg-minor-cleanup

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Jun 9, 2022

Extracted from #12766

@findepi findepi added the no-release-notes This pull request does not require release notes entry label Jun 9, 2022
@cla-bot cla-bot bot added the cla-signed label Jun 9, 2022
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Don't misuse @Deprecated like this. Name the method fromJsonForDeserializationOnly.

findepi added 2 commits June 9, 2022 22:10
Don't invoke `IcebergTableHandle` constructor meant for deserialization
explicitly. This fixes potential information loss in
`IcebergMetadata.applyFilter` (it's believed it doesn't matter).

To prevent future mistakes, the deserialization constructor is changed
to a factory method.
@findepi findepi force-pushed the findepi/iceberg-minor-cleanup branch from a6f62e5 to 8b1a88d Compare June 9, 2022 20:10
@findepi findepi merged commit 3f9877f into trinodb:master Jun 9, 2022
@findepi findepi deleted the findepi/iceberg-minor-cleanup branch June 9, 2022 20:10
@github-actions github-actions bot added this to the 386 milestone Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

3 participants