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

   A working reference implementation of collation support, to drive the 
Iceberg collation spec discussion.
   
   - collation/: parse the collation specifier grammar (locale, ci/cs, ai/as, 
trim, casing, "utf8" pseudo-locale) and compare/sort via 
golang.org/x/text/collate (CLDR/UCA, the Go ICU-equivalent).
   - StringType carries an optional collation; it round-trips as a 
collation_spec sibling on NestedField, keeping the on-disk type name "string" 
so collation-unaware readers still read the column as a plain string.
   - Delta-aligned collation bounds: store the original min/max VALUES (not ICU 
sort keys, which aren't stable across versions) tagged with a collation 
version, and prune only on an exact collation+version match.
   - Persist them in a prototype data_file.collation_bounds Avro field (v3, 
experimental field IDs 9000-9006 pending an official reservation), with a full 
WriteManifest/ReadManifest round-trip.
   - Version-gated, collator-based data-file pruning in the inclusive metrics 
evaluator; the strict evaluator and collated columns without valid bounds are 
conservatively kept (byte-order bounds must not prune a collated column).
   
   Prototype scope and deferred items are documented in the collation package 
doc.


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