miomiocat opened a new issue, #1515: URL: https://github.com/apache/paimon-rust/issues/1515
### Problem An ORC `CHAR(4)` column can store `AB` as `AB `. Returning those spaces changes the logical value. Comparing the unpadded literal `AB` against raw string statistics can also skip data that should match `code = 'AB'`. ### Expected behavior The reader should remove trailing ASCII padding before evaluating residual predicates and avoid statistics-based exclusions that are unsafe for `CHAR`. Leading spaces, other whitespace and `VARCHAR` values should retain their original meaning. -- 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]
