You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR removes `SchemalessPartitionSpec` and `UnboundPartitionSpecField`.
From the spec:
> The field-id property was added for each partition field in v2.
> In v1, the reference implementation assigned field ids sequentially
> in each spec starting at 1,000. See Partition Evolution for more details.
> In v1, partition field IDs were not tracked, but were assigned sequentially
> starting at 1000 in the reference implementation. This assignment caused
> problems when reading metadata tables based on manifest files from multiple
> specs because partition fields with the same ID may contain different data types.
> For compatibility with old versions, the following rules are recommended for partition evolution in v1 tables:
> - Do not reorder partition fields
> - Do not drop partition fields; instead replace the field's transform with the void transform
> - Only add partition fields at the end of the previous partition spec
I think for simplicity, we should assign the field-IDs starting from 1000,
and this will greatly simplify the objects that we need.
Next to that, I also believe that users shouldn't have to worry about
the field-IDs and that it should be kept internal to Iceberg-Rust.
0 commit comments