yahoNanJing commented on pull request #1983:
URL: 
https://github.com/apache/arrow-datafusion/pull/1983#issuecomment-1068910942


   > I think the ExecutionContext should not a member of QueryStageScheduler, 
since we will support session context soon.
   > 
   > ```
   > pub(crate) struct QueryStageScheduler<
   >     T: 'static + AsLogicalPlan,
   >     U: 'static + AsExecutionPlan,
   > > {
   >     ctx: Arc<RwLock<SessionContext>>,
   >     state: Arc<SchedulerState<T, U>>,
   >     event_sender: Option<EventSender<SchedulerServerEvent>>,
   > }
   > ```
   
   Thanks @mingmwang. It makes sense not to include context to the 
QueryStateScheduler. Will refactor it.


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


Reply via email to