zhuqi-lucas commented on code in PR #7502:
URL: https://github.com/apache/arrow-rs/pull/7502#discussion_r2094129996


##########
parquet/src/arrow/arrow_reader/mod.rs:
##########
@@ -814,9 +807,10 @@ impl ParquetRecordBatchReader {
     /// simplify error handling with `?`
     fn next_inner(&mut self) -> Result<Option<RecordBatch>> {
         let mut read_records = 0;
-        match self.selection.as_mut() {
+        let batch_size = self.batch_size();
+        match self.read_plan.selection_mut() {

Review Comment:
   Thank you @alamb , the POC for the adaptive predicate pushdown based this PR 
is good:
   
   https://github.com/apache/arrow-rs/pull/7524#issuecomment-2888412242



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to