跳到主要内容

EXECUTE TASK

Introduced or updated: v1.2.371

The EXECUTE TASK statement is used to execute an existing task manually

NOTICE: this functionality works out of the box only in Databend Cloud.

Syntax

EXECUTE TASK  <name>
ParameterDescription
nameThe name of the task. This is a mandatory field.

Usage Notes:

  • The SQL command can only execute a standalone task or the root task in a DAG. If a child task is input, the command returns a user error.

Usage Examples

EXECUTE TASK  mytask;

This command executes the task named mytask.

开始使用 Databend Cloud
低成本
快速分析
多种数据源
弹性扩展
注册