Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-generate UDFs affected by signature::variadic_equal disappearance in DataFusion #73

Closed

Conversation

vgapeyev
Copy link
Contributor

@vgapeyev vgapeyev commented Aug 9, 2024

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

In DataFusion's, 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.

to regenerate UDFs affected by disappearance of Signature::variadic_equal in DataFusion
@vgapeyev vgapeyev changed the base branch from main to vlad/make-functions_refresh August 9, 2024 15:25
@vgapeyev vgapeyev closed this Aug 9, 2024
@vgapeyev vgapeyev deleted the vlad/no-variadic_uniform branch August 9, 2024 15:58
@vgapeyev
Copy link
Contributor Author

vgapeyev commented Aug 9, 2024

See #74. It was easier to re-do this after the overlooked cargo fmt.

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.

1 participant