You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/09/13 06:46:56 UTC

[GitHub] [arrow-datafusion] xudong963 commented on a change in pull request #972: set max_partitions on table scan in physical planner

xudong963 commented on a change in pull request #972:
URL: https://github.com/apache/arrow-datafusion/pull/972#discussion_r707047588



##########
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:
       Got it.  fix `batch_size` too




-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org