tencent cloud

All product documents
Data Lake Compute
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

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon