DESCRIBE TASK

Describes the columns in a task.

DESCRIBE can be abbreviated to DESC.

See also:

DROP TASK , ALTER TASK , CREATE TASK , SHOW TASKS

Syntax

DESC[RIBE] TASK <name>
Copy

Parameters

name

Specifies the identifier for the task to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

Usage notes

  • Only returns rows for a task owner (i.e. the role with the OWNERSHIP privilege on a task) or a role with either the MONITOR or OPERATE privilege on a task.

  • To post-process the output of this command, you can use the RESULT_SCAN function, which treats the output as a table that can be queried.

Examples

Create an example task:

CREATE TASK mytask ( ... );
Copy

Describe the columns in the task:

DESC TASK mytask;
Copy