XiangpengHao commented on code in PR #11862:
URL: https://github.com/apache/datafusion/pull/11862#discussion_r1728177553


##########
datafusion/core/src/datasource/file_format/parquet.rs:
##########
@@ -514,10 +521,13 @@ pub fn statistics_from_parquet_meta_calc(
     statistics.total_byte_size = Precision::Exact(total_byte_size);
 
     let file_metadata = metadata.file_metadata();
-    let file_schema = parquet_to_arrow_schema(
+    let mut file_schema = parquet_to_arrow_schema(

Review Comment:
   > I feel like there must be a better way, however.
   
   I agree. I don't like passing the config around either...



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to