tustvold commented on code in PR #2774:
URL: https://github.com/apache/arrow-rs/pull/2774#discussion_r978712013


##########
parquet/src/arrow/arrow_reader/mod.rs:
##########
@@ -420,9 +432,11 @@ impl<T: ChunkReader + 'static> 
ArrowReaderBuilder<SyncReader<T>> {
                     break;
                 }
 
-                let projection = predicate.projection().clone();
-                let array_reader =
-                    build_array_reader(Arc::clone(&self.schema), projection, 
&reader)?;
+                let array_reader = build_array_reader(

Review Comment:
   We no longer do potentially expensive schema inference for every filter 
:tada:
   
   FYI @thinkharderdev 



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