Updated on 2026-11-06 GMT+08:00

Calling a Function Using SQL

Description

Calls a specified function.

Syntax

1
SELECT column_list, column_tmp  FROM table_name LATERAL VIEW function_name(column_list, ',') t AS column_tmp;

Requirements

None

Keywords

function_name: The name of the function created on FunctionGraph.

Example

Call the sample function remote_udtf.

SELECT remote_udtf("a_b_c", '_') ;

Select the corresponding database and queue, enter the SQL statement, and click Execute.