Show All Functions
Function
Views all functions in the current project.
Syntax
SHOW [USER|SYSTEM|ALL] FUNCTIONS ([LIKE] regex | [db_name.] function_name);
Where regex is a regular expression. Refer to the following examples:
| Regular Expression | Matching Meaning |
|---|---|
| 'xpath*' | Matches all function names starting with xpath. For example: SHOW FUNCTIONS LIKE 'xpath*' matches xpath, xpath_int, xpath_string, and other functions starting with xpath. |
| 'x[a-z]+' | Matches function names starting with x, followed by one or more characters in the range a to z. For example: xpath, xtest, etc. |
| 'x.*h' | Matches function names starting with x, ending with h, with any number of characters (including zero) in between. For example: xpath, xtesth, etc. |
Keywords
LIKE: This qualifier is used only for compatibility and has no practical effect.
Precautions
Displays functions that match the given regular expression or function name. If no regular expression or name is provided, all functions are displayed. If USER or SYSTEM is declared, user-defined Spark SQL functions and system-defined Spark SQL functions are displayed respectively.
Example
View all current functions.
SHOW FUNCTIONS;
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot