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.

Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today