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 f7a523ce. ORC file and key statistics now 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 TableScan regression checks a 
five-hour difference between the writer bound and the requested value, with a 
Parquet control.



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