Skip to content

Commit 7398291

Browse files
committed
update
1 parent 59e73af commit 7398291

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

datafusion/core/src/physical_planner.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,8 +807,7 @@ impl DefaultPhysicalPlanner {
807807
Partitioning::Hash(runtime_expr, *n)
808808
}
809809
LogicalPartitioning::DistributeBy(expr) => {
810-
let n =
811-
session_state.config().options().execution.target_partitions;
810+
let n = input.output_partitioning().partition_count();
812811
let runtime_expr = expr
813812
.iter()
814813
.map(|e| {

0 commit comments

Comments
 (0)