miomiocat commented on code in PR #1514:
URL: https://github.com/apache/paimon-rust/pull/1514#discussion_r4674905126


##########
crates/paimon/src/arrow/format/orc.rs:
##########
@@ -442,6 +551,9 @@ impl FormatFileReader for OrcFormatReader {
         let map_read_plan = MapShreddingReadPlan::create(&scan_fields, 
&file_schema)?;
         let projected_names: Vec<String> =
             scan_fields.iter().map(|f| f.name().to_string()).collect();
+        // Timestamp comparisons are not pushed into ORC statistics (see
+        // datum_to_orc_value). The exact residual runs on normalized values.

Review Comment:
   Updated in 89377c7f. ORC file and key statistics treat LTZ min/max as 
unknown because the manifest does not identify the writer zone. Null counts and 
other columns remain available for pruning. The regression commits an ORC entry 
and a Parquet control with the same writer bounds and runs the public scan 
builder with a five-hour offset. It checks the surviving file and the manifest 
prune counter.



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

Reply via email to