Help Center/ AI DataLake/ devg/ Spark UDF Development Guide/ Calling Remote UDTFs in Spark SQL Jobs/ Using Remote UDTFs/ Calling a Function Using SQL
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.
Parent topic: Using Remote UDTFs
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot