Skip to content

Remove core dependency from ffi#19422

Merged
timsaucer merged 1 commit intoapache:mainfrom
timsaucer:feat/8-ffi-remote-core
Dec 22, 2025
Merged

Remove core dependency from ffi#19422
timsaucer merged 1 commit intoapache:mainfrom
timsaucer:feat/8-ffi-remote-core

Conversation

@timsaucer
Copy link
Member

Which issue does this PR close?

Closes #18671

Rationale for this change

With the latest changes for #18671 we no longer require datafusion crate as a dependency. This will reduce build times for users. Also it guarantees we do not accidentally introduce code that will create a SessionContext or any other large binary inside our FFI implementations.

What changes are included in this PR?

  • Remove datafusion crate from Cargo.toml
  • Update paths
  • Apply consistent formatting

Are these changes tested?

Existing unit tests.

Are there any user-facing changes?

No. This only updates paths.

@github-actions github-actions bot added the ffi Changes to the ffi crate label Dec 20, 2025
@timsaucer
Copy link
Member Author

Per your request @kylebarron at long last!

@timsaucer
Copy link
Member Author

@paleolimbot @renato2099 @comphead Thank you so much for the reviews on this epic! Here is the last PR to reduce build times for our downstream users.

Copy link
Member

@paleolimbot paleolimbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice...I am excited for this!

These are all just import updates and look good to me!

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is awesome, thanks @timsaucer

@timsaucer timsaucer added this pull request to the merge queue Dec 22, 2025
Merged via the queue into apache:main with commit 1e59164 Dec 22, 2025
30 checks passed
@timsaucer timsaucer deleted the feat/8-ffi-remote-core branch December 22, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ffi Changes to the ffi crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support user defined functions as expressions in FFI calls

3 participants