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

Support ANY type for function list #916

Open
goldmedal opened this issue Nov 18, 2024 · 0 comments
Open

Support ANY type for function list #916

goldmedal opened this issue Nov 18, 2024 · 0 comments

Comments

@goldmedal
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Sometimes, the return type of a function is based on the input type. It's better to have a way to define this kind of function.

Describe the solution you'd like
We can define a remote function like

scalar,cast,ANY,"Converts a value to a different data type."

However, DataFusion doesn't have ANY type. We should register all possible types for the function if its return type is ANY.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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

No branches or pull requests

1 participant