palaska commented on code in PR #1059:
URL: 
https://github.com/apache/datafusion-ballista/pull/1059#discussion_r1774316135


##########
ballista/scheduler/src/test_utils.rs:
##########
@@ -783,6 +783,47 @@ pub fn assert_failed_event(job_id: &str, collector: 
&TestMetricsCollector) {
     assert!(found, "{}", "Expected failed event for job {job_id}");
 }
 
+pub fn revive_graph_and_complete_next_stage(graph: &mut ExecutionGraph) -> 
Result<usize> {

Review Comment:
   this helper method just finds the next stage that has an available task and 
completes the stage. This was required because we create scans or memtables 
with 2 partitions, which result in 2 tasks in the 1st stage. 
[This](https://github.com/apache/datafusion/issues/12611) only causes 
regression when the input doesn't have multiple partitions



-- 
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-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to