Skip to content

Conversation

@rdblue
Copy link
Contributor

@rdblue rdblue commented Feb 4, 2025

This refactors the existing Variant class structure to avoid breaking changes when the Variant interfaces are moved to iceberg-api. This requires:

  • PhysicalType should not be a static class in Variants, which will not move
  • VariantMetadata should not extend Variants.Serialized, which should not be exposed

This also adds writeTo and sizeInBytes to VariantMetadata to be able to serialize back to a ByteBuffer without Serialized.

@rdblue rdblue force-pushed the variant-prepare-for-api branch from 7f66f70 to 73a43b7 Compare February 4, 2025 21:10
@amogh-jahagirdar amogh-jahagirdar merged commit 2510fba into apache:main Feb 4, 2025
46 checks passed
@rdblue
Copy link
Contributor Author

rdblue commented Feb 4, 2025

Thanks for reviewing, @amogh-jahagirdar!

rdblue added a commit to rdblue/iceberg that referenced this pull request Feb 5, 2025
rdblue added a commit to rdblue/iceberg that referenced this pull request Feb 18, 2025
rdblue added a commit to rdblue/iceberg that referenced this pull request Feb 18, 2025
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.

2 participants