miomiocat commented on code in PR #1516:
URL: https://github.com/apache/paimon-rust/pull/1516#discussion_r4674905041
##########
crates/paimon/src/arrow/format/orc.rs:
##########
@@ -718,7 +832,9 @@ fn datum_to_orc_value(datum: &Datum, data_type: &DataType)
-> Option<PredicateVa
(Datum::Long(value), DataType::BigInt(_)) =>
Some(PredicateValue::Int64(Some(*value))),
(Datum::Float(value), DataType::Float(_)) =>
Some(PredicateValue::Float32(Some(*value))),
(Datum::Double(value), DataType::Double(_)) =>
Some(PredicateValue::Float64(Some(*value))),
- (Datum::String(value), DataType::Char(_) | DataType::VarChar(_)) => {
+ // CHAR values are normalized before residual evaluation; raw padded
ORC
+ // statistics must not exclude a matching unpadded value.
Review Comment:
Updated in fa069b63. ORC CHAR min/max bounds no longer exclude files before
CHAR padding is removed. The regression commits `AB ` to `CD ` as the
manifest bounds of an ORC entry and a Parquet control. It runs the public scan
builder for `AB` and checks that only the ORC file survives. This exercises the
manifest pushdown before split packing.
--
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]