milenkovicm commented on code in PR #1675:
URL:
https://github.com/apache/datafusion-ballista/pull/1675#discussion_r3215387760
##########
ballista/scheduler/src/api/handlers.rs:
##########
@@ -539,11 +541,9 @@ pub async fn get_query_stages<
.as_ref()
.map(|m| get_combined_count(m.as_slice(),
"output_rows"))
.unwrap_or(0);
- summary.elapsed_compute = running_stage
- .stage_metrics
- .as_ref()
- .map(|m| get_elapsed_compute_nanos(m.as_slice()))
- .unwrap_or_default();
+ summary.elapsed_compute =
get_running_stage_time(&running_stage
Review Comment:
i agree, will do it as a follow up as `tui` will be impacted
--
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]