gaojun2048 commented on issue #755:
URL: 
https://github.com/apache/arrow-datafusion/issues/755#issuecomment-990595491


   > It sounds like a usecase would be to save all the table providers -- since 
they can be user provided (in other Rust code) I am not sure serializing them 
in the core of DataFusion makes much sense.
   > 
   > Adding some sort of table / session persistence to `datafusion-cli` (and 
other users of the core DataFusion) would make sense to me
   
   ExecutionContext only support create catalog from default. I want to unify 
the management of catalog and schema information externally, and this 
information can be shared by different ExecutionContexts, it is impossible to 
do so now. If the content in ExecutionContextState can be init through the 
`new(state: Arc<Mutex<ExecutionContextState>>)` method, then we can manage this 
information in the ballista scheduler, and send this information to the 
ballista executor, where every datafusion ExecutionContext created in the 
ballista executor can be Have the same ExecutionContextState content.
   
   
![image](https://user-images.githubusercontent.com/32193458/145515487-78e461a7-244c-4d48-aa08-8e1caf85ca8e.png)
   
   
   
![image](https://user-images.githubusercontent.com/32193458/145510073-3c696883-30f8-4094-8b69-e6c31efad75d.png)
   


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