-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
List available functions (SHOW FUNCTIONS
)
#12144
Comments
I think we should support table function similar to https://duckdb.org/docs/sql/functions/overview.html We could not only get the function name but also
|
absolutely, more info than just function name is a good thing to have
The SQL standard way of presenting function information seems to be via We can certainly present this information as a table function (instead of, or additionally to). |
We could easily apply any query on the table function like
and we can get a subset of information with Unlike the syntax here, it is completely different so we need additional syntax support. It is also not easy to select the subset of information https://docs.snowflake.com/en/sql-reference/sql/show-functions
|
This is a good point. In any case, writing a full query to Summing up we have discussed these implementation options
Which one or which ones do we want to implement? |
I like the idea of
We could wait for a few days for more opionion. Don't worry about being questioned later on. Datafusion is a continuously evolving and breaking change friendly project, if there comes out a better idea we could review it again |
It is my opinion we should follow the same pattern as implemented for Specifically, I think that means:
|
We could add a |
I filed #12432 to track this idea |
Is there any update on this issue? In my downstream project, Wren AI, we would register various custom functions (UDF, UDAF, etc.) dynamically. This feature would be useful in our scenario for getting the available functions in the current session. Currently, I can only access functions through As @alamb suggested, I think we can begin by implementing |
We are pretty close to completing the project to have the documentation programatically available
|
I checked the documents. It's very good for human reading but I think it doesn't have the type information (parameters and return_type). They're important for the third-party tool to integrate with DataFusion-based applications. Following the @findepi are you still working on this? |
I paused this for now. @goldmedal go for it. |
I created #13255 for the |
Is your feature request related to a problem or challenge?
I as a user would want to see a list of available functions.
Describe the solution you'd like
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: