danielhumanmod commented on code in PR #1567:
URL: 
https://github.com/apache/datafusion-ballista/pull/1567#discussion_r3152205967


##########
ballista/core/src/execution_plans/distributed_query.rs:
##########
@@ -82,6 +83,8 @@ pub struct DistributedQueryExec<T: 'static + AsLogicalPlan> {
     /// - job_execution_time_ms: Time spent executing on the cluster (ended_at 
- started_at)
     /// - job_scheduling_in_ms: Time job waited in scheduler queue (started_at 
- queued_at)
     metrics: ExecutionPlanMetricsSet,
+    /// The scheduler job id after the query has been accepted.
+    job_id: Arc<Mutex<Option<String>>>,

Review Comment:
   Yeah, I was also thinking about using OnceLock instead, since the job id is 
effectively set once after query submission and then only read later.
   



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