Skip to content

Comments

Feat/ffi scalar udf config#20454

Draft
timsaucer wants to merge 8 commits intoapache:mainfrom
timsaucer:feat/ffi-scalar-udf-config
Draft

Feat/ffi scalar udf config#20454
timsaucer wants to merge 8 commits intoapache:mainfrom
timsaucer:feat/ffi-scalar-udf-config

Conversation

@timsaucer
Copy link
Member

DRAFT until #19469 merges

Which issue does this PR close?

Rationale for this change

Now that we have proper FFI_ConfigOptions we can pass these to scalar UDFs via FFI.

What changes are included in this PR?

Instead of passing default options, pass in converted config options from the input.

Also did a drive by cleanup of switching to using FFI_ColumnarValue since it is now available.

Are these changes tested?

Unit test added.

Are there any user-facing changes?

This is a breaking API change, but not one that users will interact with directly. It breaks the ABI for FFI libraries, which is currently unstable.

@github-actions github-actions bot added common Related to common crate ffi Changes to the ffi crate labels Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate ffi Changes to the ffi crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support passing ConfigOptions to scalar functions via FFI

1 participant