notfilippo opened a new issue, #13342:
URL: https://github.com/apache/datafusion/issues/13342

   ### Is your feature request related to a problem or challenge?
   
   When producing / consuming a substrait plan it's not always practical to 
pass the SessionContext. Most of the methods used in the crate directly 
reference SessionContext even though all of them actually make use of the 
memory in its underlying SessionState.
   
   ### Describe the solution you'd like
   
   It should be possible to just use the SessionState when producing / 
consuming substrait plans.
   
   ### Describe alternatives you've considered
   
   As a next step we could possibly declare a trait with the subset of 
functions used by the substrait consumer / producer instead of requiring the 
SessionState object so users could provide their own context to the plan 
encoding / decoding functions.
   
   ### 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: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to