📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

EXECUTE TASK



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

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

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.

Was this page helpful?