Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Protocol] Update type widening preview spec to align supported type changes with Iceberg #3638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johanl-db
Copy link
Collaborator

Description

The following type changes available in the preview of type widening aren't supported by Iceberg and it will be very hard to support them - mainly due to the Binary single-value serialization part of the spec:

  • (byte,short,int,long) → decimals
  • (byte,short,int) → double
  • decimal scale increase, e.g. decimal(12,2) → decimal(14,4)

These type changes will get in the way of interoperability with Iceberg. To prevent issues in the future, we won't allow applying these types changes in the stable version of the type widening feature. We can add these back once Iceberg supports them. Reading a table that had such a type change applied will still be allowed though.

@johanl-db johanl-db force-pushed the deprecate-type-widening-changes-delta-spec branch from 41b7234 to dfa3efd Compare September 4, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants