Skip to content

Commit 408a43f

Browse files
committed
rename python function to match rust
1 parent f73c5ce commit 408a43f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datafusion_ray/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def execute_query_stage(
5050

5151
# if the query stage has a single output partition then we need to execute for the output
5252
# partition, otherwise we need to execute in parallel for each input partition
53-
concurrency = stage.get_input_partition_count()
53+
concurrency = stage.get_execution_partition_count()
5454
output_partitions_count = stage.get_output_partition_count()
5555
if output_partitions_count == 1:
5656
# reduce stage

src/query_stage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl PyQueryStage {
6060
self.stage.get_child_stage_ids()
6161
}
6262

63-
pub fn get_input_partition_count(&self) -> usize {
63+
pub fn get_execution_partition_count(&self) -> usize {
6464
self.stage.get_execution_partition_count()
6565
}
6666

0 commit comments

Comments
 (0)