nicor88 opened a new issue, #193:
URL: https://github.com/apache/iceberg-python/issues/193

   ### Feature Request / Improvement
   
   ## Contex
   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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to