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
{{ message }}
Repository navigation
update_spec and create_table accept two partition fields with the same name #4304
validate_partition_name in pyiceberg/partitioning.py is meant to reject empty and duplicate partition field names (Partition name has to be unique: ...), but it returns early when the name is not also a schema column, so those checks only run for names that match a column. As a result update_spec() can commit a spec with two fields of the same name, for example through rename_field. create_table does not check uniqueness at all, because assign_fresh_partition_spec_ids passes a fresh set of names for every field.
Activity