DESCRIBE TASK¶
작업에 대한 정보를 표시합니다.
DESCRIBE는 DESC로 축약할 수 있습니다.
- 참고 항목:
구문¶
DESC[RIBE] TASK <name>
매개 변수¶
name설명할 작업의 식별자를 지정합니다. 식별자에 공백이나 특수 문자가 포함된 경우 전체 문자열을 큰따옴표로 묶어야 합니다. 큰따옴표로 묶인 식별자도 대/소문자를 구분합니다.
출력¶
명령은 :ref:`SHOW_TASKS<label-show_tasks_output>`와 동일한 출력을 제공합니다.
사용법 노트¶
작업 소유자(즉, 작업에 대한 OWNERSHIP 권한을 가진 역할) 또는 작업에 대한 MONITOR 또는 OPERATE 권한을 가진 역할에 대한 행만 반환합니다.
이 명령의 출력을 후처리하기 위해 파이프 연산자 (
->>) 또는 RESULT_SCAN 함수를 사용할 수 있습니다. 두 구문 모두 출력을 쿼리할 수 있는 결과 세트로 간주합니다.For example, you can use the pipe operator or RESULT_SCAN function to select specific columns from the SHOW command output or filter the rows.
When you refer to the output columns, use double-quoted identifiers for the column names. For example, to select the output column
type, specifySELECT "type".You must use double-quoted identifiers because the output column names for SHOW commands are in lowercase. The double quotes ensure that the column names in the SELECT list or WHERE clause match the column names in the SHOW command output that was scanned.
예¶
예시 작업 만들기:
CREATE TASK mytask ( ... );
작업에 대한 정보를 표시합니다.
DESC TASK mytask;
출력 예는 SHOW_TASKS 섹션을 참조하세요.