CREATE FUNCTION
Syntax
CREATE FUNCTION [IF NOT EXISTS] function_name AS identifier [LANGUAGE JAVA|SCALA]
Function
Create a user-defined function.
Description
IF NOT EXISTS
If the function already exists, nothing happens.
LANGUAGE JAVA|SCALA
Language tag is used to instruct Flink runtime how to execute the function. Currently only JAVA and SCALA are supported, the default language for a function is JAVA.
Example
Create a function named STRINGBACK.
create function STRINGBACK as 'com.dli.StringBack'
Feedback
Was this page helpful?
Provide feedbackThank 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