Skip to content

Commit

Permalink
rename python function to match rust
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Dec 14, 2024
1 parent f73c5ce commit 408a43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion_ray/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def execute_query_stage(

# if the query stage has a single output partition then we need to execute for the output
# partition, otherwise we need to execute in parallel for each input partition
concurrency = stage.get_input_partition_count()
concurrency = stage.get_execution_partition_count()
output_partitions_count = stage.get_output_partition_count()
if output_partitions_count == 1:
# reduce stage
Expand Down
2 changes: 1 addition & 1 deletion src/query_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl PyQueryStage {
self.stage.get_child_stage_ids()
}

pub fn get_input_partition_count(&self) -> usize {
pub fn get_execution_partition_count(&self) -> usize {
self.stage.get_execution_partition_count()
}

Expand Down

0 comments on commit 408a43f

Please sign in to comment.