timsaucer opened a new pull request, #24028:
URL: https://github.com/apache/datafusion/pull/24028

   ## Which issue does this PR close?
   
   - Unblocks https://github.com/apache/datafusion-python/issues/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
   
   - https://github.com/apache/datafusion/pull/23649
   - https://github.com/apache/datafusion/pull/23703
   - https://github.com/apache/datafusion/pull/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.


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