tustvold commented on issue #4349:
URL: 
https://github.com/apache/arrow-datafusion/issues/4349#issuecomment-1351363475

   > If a TaskContext represents a query/task
   
   I think it might be more precise to describe `TaskContext` as the state for 
query execution, with `SessionState` used for query planning.
   
   > the only way right now to identify task in TableProvider
   
   Correct, at the point in planning where `TableProvider::scan` is called, the 
task conceptually doesn't exist yet
   
   > create new SessionContext for each query
   
   FWIW this is what IOx does


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