Skip to content

Commit 7d54247

Browse files
committed
make scope unreachable
1 parent 0f0098e commit 7d54247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/physical-plan/src/joins/hash_join.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ impl SharedBoundsAccumulator {
173173
left_child.output_partitioning().partition_count()
174174
}
175175
// Default value, will be resolved during optimization (does not exist once `execute()` is called; will be replaced by one of the other two)
176-
PartitionMode::Auto => 1,
176+
PartitionMode::Auto => unreachable!("PartitionMode::Auto should not be present at execution time. This is a bug in DataFusion, please report it!"),
177177
};
178178
Self {
179179
bounds: Mutex::new(Vec::with_capacity(expected_calls)),

0 commit comments

Comments
 (0)