marvinlanhenke opened a new pull request, #272:
URL: https://github.com/apache/iceberg-rust/pull/272

   ### Which issue does this PR close?
   Closes #271 
   
   ### Rationale for this change
   Serialization of metadata.json has missing fields (properties and snapshots) 
when being empty this causes downstream errors when reading the metadata file. 
Also current default values for `partition_specs` and `sort_orders` (set with 
TableMetadataBuilder) are causing downstream errors.
   
   ### What changes are included in this PR?
   Changed: Not return `None` for properties and snapshots, when empty.
   Changed: Set default values for `partition_specs` and `sort_orders`.
   
   ### Are these changes tested?
   Yes
   
   ### Are there any user-facing changes?
   No.
   


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