Richard-Durkee opened a new pull request, #2947: URL: https://github.com/apache/datafusion-ballista/pull/2947
# Which issue does this PR close? Follow-up to #2875. This picks up the two optional suggestions from the review there. # Rationale for this change #2875 added `plan_metrics_len` and `skipped_metrics_warned` to `RunningStage` as `pub` fields. They are bookkeeping for the metrics merge, and `RunningStage` is reachable through `pub mod state`, so they grow the public surface without adding much. The two end-to-end metrics tests in `range_shuffle_tests.rs` also asserted exact `(stage, tasks, metrics sets)` tuples. Those depend on the plan DataFusion produces, so an unrelated DataFusion bump could break them. # What changes are included in this PR? - `plan_metrics_len` and `skipped_metrics_warned` are now `pub(crate)`. Nothing outside the scheduler crate reads them. - `run_graph_reporting_metrics` still checks every task's metrics against its stage plan and that each finished stage ends with one metrics set per operator. It now returns `(stage id, tasks)`. The two tests check the stage count, that every stage ran at least one task, and that the first stage ran several, since #2875 is about stages with more than one task. # Are there any user-facing changes? No. -- 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]
