milenkovicm commented on code in PR #1543:
URL: 
https://github.com/apache/datafusion-ballista/pull/1543#discussion_r3036823468


##########
ballista/scheduler/src/api/handlers.rs:
##########
@@ -91,13 +92,50 @@ struct CancelJobResponse {
     pub reason: Option<String>,
 }
 
+#[derive(Debug, serde::Serialize)]
+pub struct TaskSummary {
+    /// task id
+    pub task_id: u32,
+    /// partition id
+    pub partition_id: u32,
+    /// Scheduler schedule time
+    pub scheduled_time: u64,
+    /// Scheduler launch time
+    pub launch_time: u64,
+    /// The time the Executor start to run the task
+    pub start_exec_time: u64,
+    /// The time the Executor finish the task
+    pub end_exec_time: u64,
+    /// total execution time
+    pub exec_duration: u64,

Review Comment:
   U agree it's duplication but it's good to have it already calculated. When 
using things like curl makes life easier 



-- 
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]

Reply via email to