houqp commented on a change in pull request #1665:
URL: https://github.com/apache/arrow-datafusion/pull/1665#discussion_r792298940



##########
File path: datafusion/src/physical_plan/file_format/parquet.rs
##########
@@ -217,6 +217,7 @@ impl ExecutionPlan for ParquetExec {
 
         let file_schema_ref = self.base_config().file_schema.clone();
         let join_handle = task::spawn_blocking(move || {
+            let f = partition.clone();

Review comment:
       perhaps we can pass partition as a reference to `read_partition` to 
avoid the clone here? I noticed read_partition is already perfoming clone 
inside.




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