andygrove commented on PR #1069:
URL:
https://github.com/apache/datafusion-ballista/pull/1069#issuecomment-2408618334
> As follows up work I'd try to use SessionContext instead of
BallistaContext, if that works we could deprecate python and ballista context
at the same time. Would that make sense @andygrove ?
`BallistaContext` is a thin wrapper around `SessionContext`:
```
pub struct BallistaContext {
state: Arc<Mutex<BallistaContextState>>,
context: Arc<SessionContext>,
}
```
To make `SessionContext` execute queries against Ballista we call
`with_query_planner` and provide a `BallistaQueryPlanner`.
For Python, I think the trick is to somehow use the DataFusion Python
bindings but pass the Ballista SessionContext to it?
--
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]