miomiocat opened a new pull request, #1516: URL: https://github.com/apache/paimon-rust/pull/1516
### Purpose Closes #1515. Make a padded ORC `CHAR` value compare the same way as the logical Paimon value, including when a predicate is evaluated during the read. ### Brief change log - Remove trailing ASCII spaces according to the logical Paimon type, recursing into array, map and row children. - Skip raw string statistics comparisons for `CHAR` literals. Evaluate residual predicates on the normalized values. ### Tests Added a sliced-array case covering nulls, leading spaces, all-padding values, tabs, nonbreaking spaces and the same inputs read as VARCHAR. Local verification passed with `cargo build --locked -p paimon --lib` and `cargo fmt --all -- --check`. Test execution is left to upstream CI. ### API and Format The change affects decoded ORC CHAR values and predicates on them. It uses the existing read API and file format. ### Documentation The behavior follows the fixed-width CHAR semantics of the Java reader. -- 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]
