[jira] [Created] (FLINK-21579) Support "SHOW USER FUNCTIONS" statement

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21579) Support "SHOW USER FUNCTIONS" statement

Shang Yuanchun (Jira)
Jark Wu created FLINK-21579:
-------------------------------

             Summary: Support "SHOW USER FUNCTIONS" statement
                 Key: FLINK-21579
                 URL: https://issues.apache.org/jira/browse/FLINK-21579
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API, Table SQL / Client
            Reporter: Jark Wu


Currently, the {{SHOW FUNCTIONS}} lists all user-defined and built-in functions which is very verbose. We already introduced {{listUserDefinedFunctions()}} method on {{TableEnvironment}}. I think we can introduce a dedicate syntax to show user-defined only functions which simply calls {{listUserDefinedFunctions()}}. That would be very useful.

I propose to use {{SHOW USER FUNCTIONS}} which is also supported by Snowflake [1] and Spark[2].


[1]: https://docs.snowflake.com/en/sql-reference/sql/show-user-functions.html
[2]: https://docs.databricks.com/spark/latest/spark-sql/language-manual/sql-ref-syntax-aux-show-functions.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)