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

   ## Why
   
   Partition values containing delimiters can produce the same key for distinct 
partitions. Compaction can then send a mixed group to a clustered writer.
   
   [Iceberg partition equality](https://iceberg.apache.org/spec/#scan-planning) 
· [Java typed partition 
grouping](https://github.com/apache/iceberg/blob/3deb2b6617be2f7047a6e9b830b755f8a62e9ca3/core/src/main/java/org/apache/iceberg/actions/BinPackRewriteFilePlanner.java#L313-L328)
 · [Java value 
comparators](https://github.com/apache/iceberg/blob/3deb2b6617be2f7047a6e9b830b755f8a62e9ca3/api/src/main/java/org/apache/iceberg/types/Comparators.java#L35-L50)
   
   ## What
   
   Use unambiguous partition keys for compaction planning and equality-delete 
cleanup. Reject mixed groups before writing.
   
   ## Implementation
   
   Encode typed, length-delimited values, preserve signed zero, and 
canonicalize NaNs. Validate each task's spec and partition against the first 
file in its group.
   


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