houqp commented on a change in pull request #972:
URL: https://github.com/apache/arrow-datafusion/pull/972#discussion_r706932679
##########
File path: datafusion/src/physical_plan/planner.rs
##########
@@ -302,7 +302,7 @@ impl DefaultPhysicalPlanner {
ctx_state: &ExecutionContextState,
) -> Result<Arc<dyn ExecutionPlan>> {
let batch_size = ctx_state.config.batch_size;
-
+ let max_partitions = ctx_state.config.target_partitions;
Review comment:
since this is only used within the `LogicalPlan::TableScan` match arm,
it's better to move the assignment inside there.
--
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]