You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/12/14 15:46:20 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #4617: Configuration Mutation Isolation

alamb commented on issue #4617:
URL: https://github.com/apache/arrow-datafusion/issues/4617#issuecomment-1351666841

   > This would require separating DDL from DML, with the latter requiring mutable access to the SessionContext. I'm inclined to think this is fine for a couple of reasons:
   
   I agree and I have proposed this for some time: https://github.com/apache/arrow-datafusion/issues/1281. I think that since  the DML processing is handled by SessionContext itself, this would work with your plan
   
   Something else that would be worth looking at to figure out would be the DataFrame API which has both the state and a logical plan: https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/src/dataframe.rs
   
   I really like the idea of "TaskContext is created once the query is planned and is not mutable, and does not have shared state -- and it can perhaps make a copy of whatever parts of SessionState is needed to run the query"
   
   
   
   
   


-- 
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-unsubscribe@arrow.apache.org

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