tencent cloud

CALL STATEMENT
Last updated: 2024-08-07 17:21:33
CALL STATEMENT
Last updated: 2024-08-07 17:21:33
Stored procedures can be used only if you use [Iceberg SQL Extension] (https://iceberg.apache.org/spark-configuration/#sql-extensions!f708e62c6d20960cfe7921152e256ba5) in Spark.

Statement

CALL expression

Parameter

expression: Function expression

Example

CALL catalog_name.`system`.procedure_name(arg_name_2 => arg_2, arg_name_1 => arg_1)

#When parameters are passed by position, only the end parameter can be omitted if the parameters are optional.
CALL catalog_name.system.procedure_name(arg_1, arg_2, ... arg_n)

#Set the current snapshot to db.sample1:
CALL catalog_name.system.set_current_snapshot('db.sample', 1)

More Information


Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback