-
Notifications
You must be signed in to change notification settings - Fork 389
Closed
Milestone
Description
Feature Request / Improvement
Context
One of the advantage of Iceberg is that the original "partition" design can be changed over time. This is often the case, as a table is originally implemented for a specific query access pattern, and that can change over time.
Requirements
I would like to use pyiceberg to "evolve" partitions, specifically changing the partition specs.
e.g.
new_partition_spec = PartitionSpec(
PartitionField(source_id=1, field_id=1000, transform=DayTransform(), name="event_date"),
PartitionField(source_id=2, field_id=1001, name="marketing_channel")
)
with table.update_partitions() as table_update:
table_update. update_partition_specs(new_partition_spec)
or something similar.
Reference
https://iceberg.apache.org/docs/latest/evolution/#partition-evolution
Fokko
Metadata
Metadata
Assignees
Labels
No labels