fallintoplace opened a new pull request, #2559:
URL: https://github.com/apache/iceberg-go/pull/2559

   ## What
   
   Reject invalid partition sources, such as `day(string)`.
   
   ## Why
   
   An incompatible transform can write a null partition value for non-null data.
   
   ## Implementation
   
   - Validate source types, nesting and counts when creating or binding a spec.
   - Check transform and source types when writing records or converting 
Parquet files.
   - Keep unknown transforms and v1 void fields readable.
   
   ## References
   
   - [Iceberg spec: partitioning](https://iceberg.apache.org/spec/#partitioning)
   - [Iceberg spec: partition 
transforms](https://iceberg.apache.org/spec/#partition-transforms)
   - [Java partition spec 
validation](https://github.com/apache/iceberg/blob/acea99d28a4be93a8c0dfc7bd8ece4a237324243/api/src/main/java/org/apache/iceberg/PartitionSpec.java#L645-L684)
   


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