You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 74881dc
Browse filesBrowse the repository at this point in the historyBrowse files
## Which issue does this PR close?
- Unblocks apache/datafusion-python#1612
## Rationale for this change
This is the last in a series of PRs that would enable FFI `Session` to
support a `QueryPlanner`. The prior work was in
- apache#23649
- apache#23703
- apache#23842
With those changes in place we now have the dependencies correct that we
can expose a `FFI_QueryPlanner` on a `FFI_Session`. With this we can
enable foreign libraries such as `datafusion-distributed` and `ballista`
to provide a query planner in Python and connect it directly to a
`datafusion-python`'s `SessionContext`.
## What changes are included in this PR?
Addition only. Adds these functions to `FFI_Session` and their
supporting structures:
- `query_planner()`
- `optimize()`
- `physical_optimizers()`
## Are these changes tested?
Unit and integration tests are provided.
## Are there any user-facing changes?
This is addition, but it does break the FFI ABI, which is already
evolving in DF55.
---------
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
0 commit comments