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

Coerce dictionary types for scalar functions #10076

Closed
viirya opened this issue Apr 14, 2024 · 0 comments · Fixed by #10077
Closed

Coerce dictionary types for scalar functions #10076

viirya opened this issue Apr 14, 2024 · 0 comments · Fixed by #10077
Assignees
Labels
bug Something isn't working

Comments

@viirya
Copy link
Member

viirya commented Apr 14, 2024

Describe the bug

Found an issue on coercing dictionary types for scalar function at Comet: apache/datafusion-comet#265

In short, if there are dictionary type and non-dictionary type inputs for scalar function, currently DataFusion cannot coerce the input types, but report an error like:

Error during planning: Coercion from [Dictionary(Int32, Utf8), Utf8] to the signature VariadicEqual failed

To Reproduce

No response

Expected behavior

Dictionary types should be coerced for scalar function.

Additional context

No response

@viirya viirya added the bug Something isn't working label Apr 14, 2024
@viirya viirya self-assigned this Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant