Skip to main content

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.

Did this page help you?
Yes
No
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today