Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

CREATE FUNCTION

Updated on 2023-03-21 GMT+08:00

Syntax

CREATE FUNCTION
  [IF NOT EXISTS] function_name
  AS identifier [LANGUAGE JAVA|SCALA]

Function

Create a user-defined function.

For details about how to create a user-defined function, see User-Defined Functions (UDFs).

Description

IF NOT EXISTS

If the function already exists, nothing happens.

LANGUAGE JAVA|SCALA

The language tag is used to instruct Flink runtime how to execute the function. Currently, only JAVA and SCALA language tags are supported, the default language for a function is JAVA.

Example

Create a function named STRINGBACK.

create function STRINGBACK as 'com.dli.StringBack'
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback