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

   ## Which issue does this PR close?
   
   - Addresses one portion of #23678.
   
   ## Rationale for this change
   
   This will enable users to create table views using table function over an 
existing table in the catalog via FFI.  We are currently unable to access the 
catalog other than by downcasting a `Session` to `SessionState`, which is not 
effective over FFI.
   
   In order to support this, we need to move many trait definitions out of the 
`datafusion-catalog` crate and into the `datafusion-session` crate. There is 
more discussion in #23678 about why this is necessary.
   
   ## What changes are included in this PR?
   
   - Move a variety of catalog traits into `datafusion-session`.
   - Add `catalog()` function to `Session`.
   - Implement `catalog()` in `ForeignSession` for FFI users
   
   ## Are these changes tested?
   
   New tests are included.
   
   ## Are there any user-facing changes?
   
   User guide is updated.


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