yuyang-ok opened a new issue, #8926:
URL: https://github.com/apache/arrow-datafusion/issues/8926

   ### Is your feature request related to a problem or challenge?
   
   `TableProvider`'s `scan` often load a lot of data from some place. if 
somehow this request is cancelled, we can drop the `scan` .
   can save use a lot of cpu times. right now there is no way to pass the 
custom context for each `scan` .
   
   
   
   ### Describe the solution you'd like
   
   since scan take a `SessionState` as parameter . 
   we can add a field to this struct.
   ~~~
   pub struct SessionState {
      ...
      context : Option<Arc<dyn Any>>,
      ...
   }
   ~~~
   
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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