iceberg-kitten opened a new pull request, #4432:
URL: https://github.com/apache/iceberg-python/pull/4432

   ## Why
   
   REST v3 table creation drops `initial-default` and `write-default` when it 
renumbers schema fields. Iceberg uses those values when reading older rows and 
writing new rows with omitted fields. Java preserves them when assigning fresh 
IDs. [Iceberg spec](https://iceberg.apache.org/spec/#default-values) ยท [Java 
reference](https://github.com/apache/iceberg/blob/main/api/src/main/java/org/apache/iceberg/types/AssignFreshIds.java#L90-L96)
   
   ## What
   
   Keep both defaults in the schema sent when creating a v3 table through REST.
   
   ## Implementation
   
   Opt into preserving field defaults when REST table creation assigns fresh 
IDs for a v3 schema.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to