Skip to content

Conversation

@vgapeyev
Copy link
Contributor

@vgapeyev vgapeyev commented Aug 9, 2024

These are the re-generated UDFs adjusting to the disappearance of DataFusion's signature::TypeSignature::VariadicEqual in apache/datafusion#10439

In DataFusion, this was replaced with the new signature::TypeSignature::UserDefined, which comes with a new method ScalarUDFImpl::coerce_types (to be user-implemented) that DF calls to preprocess actual arguments before passing them to the invoke method.
This is not something that is suitable to our more statically-checked setting, so this PR replaces VariadicEqual with VariadicAny. It's a worse approximation to SDF function signatures, but that's only important for "documentation"-like purposes; SDF typechecking and execution are not affected.

Updated version of make-functions, adjusting for the disappearance of DataFusion's `signature::TypeSignature::VariadicEqual`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants