timsaucer commented on PR #19223:
URL: https://github.com/apache/datafusion/pull/19223#issuecomment-3640568849

   > Thanks @timsaucer
   > 
   > for the `SessionPrivateData` does that mean every session contain its own 
configuration set and can be updated without affecting other sessions?
   
   Yes! This was one of the things that I was trying to capture rather than 
doing something like keeping a singleton around. In my usage of 
datafusion-python I quite commonly create new session contexts. Often they're 
identical, but I can imagine other users besides myself who do have differences 
in their sessions. This code basically allows them to remain independent but 
also gives *most* of the session traits.


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