ahmedabu98 commented on PR #32879:
URL: https://github.com/apache/beam/pull/32879#issuecomment-2426084733

   > Interestingly, it seems possible to commit data files produced with an old 
partitioning scheme
   
   Yep this is what I found empirically as well. The 
[docs](https://iceberg.apache.org/docs/1.6.1/evolution/#partition-evolution) 
mention that each partition spec's metadata is kept separate from each other. 
This allows Iceberg to carry out a separate query plan for each partition spec, 
then combine all files afterwards. 
   
   Old data written with the old partition spec doesn't get affected. What I'm 
seeing is _new_ data written with the old spec is also not affected. This is 
convenient for streaming writes because after updating the table's partition 
spec, there may be some inflight data that is still using the old partition 
spec. Iceberg will still accept that data when it gets committed and manage the 
metadata accordingly.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to