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


##########
parquet/src/arrow/arrow_reader/mod.rs:
##########
@@ -82,15 +84,17 @@ impl<T> ArrowReaderBuilder<T> {
             false => metadata.file_metadata().key_value_metadata(),
         };
 
-        let schema = Arc::new(parquet_to_arrow_schema(
+        let (schema, fields) = parquet_to_array_schema_and_fields(

Review Comment:
   Here we can see that we perform the inference logic once, and keep the 
ParquetField around to later project



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