milenkovicm commented on code in PR #2828:
URL:
https://github.com/apache/datafusion-ballista/pull/2828#discussion_r4515763910
##########
ballista/scheduler/src/state/aqe/test/job_success.rs:
##########
@@ -97,3 +103,43 @@ async fn
nested_aggregation_reports_non_final_stages_as_intermediate() -> Result
assert_intermediate_excludes_only_final_stage(&graph);
Ok(())
}
+
+/// Tasks of one stage can run plans that report different numbers of operator
+/// metrics: the scheduler restricts each task's copy of the stage plan to its
+/// partitions, and that can swap a leaf without metrics (`EmptyExec` under a
+/// `UnionExec`, say) for one with them. The metrics of such a task cannot be
+/// merged with the stage's, but the task still succeeded. Its status must be
+/// applied anyway, or the stage never completes and the job hangs.
+#[tokio::test]
Review Comment:
checked, this will defiantly fail without given change
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]