Fokko commented on issue #22:
URL: https://github.com/apache/iceberg-python/issues/22#issuecomment-1794369668

   @HonahX Yes, I think that is how it should be done (Except the builder 
pattern, that's very much Java style :). I think we can split the work into 
several work packages:
   
   - Ability to write the JSON to the object store (that was the intent of this 
PR).
   - Have logic to update the metadata dictionary as you pointed out above. I 
think we can do this per operation (update schema, update partition-spec, 
update sort-order, etc) to keep it small and we can get it in quickly. 
   - Implement the commit method per catalog to update the properties (point to 
the latest metadata, and [set the previous 
metadata](https://github.com/apache/iceberg/blob/b0bf62a448617bd5f57ca72c2648452e6600fa20/core/src/main/java/org/apache/iceberg/BaseMetastoreTableOperations.java#L58)).


-- 
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

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