dbt invocation 명령어
dbt invocation 명령어
dbt invocation 명령어는 dbt platform CLI에서 제공되며, 활성 실행(invocation) 목록을 확인해 긴 실행·멈춘 실행을 디버깅할 수 있어요. 활성 실행만 나열하며 완료된 세션은 포함되지 않아요.
출처: 문서
본문
dbt invocation 명령어는 dbt platform CLI에서 제공되며 다음을 할 수 있게 해줘요:
- 긴 실행 또는 멈춘 실행을 디버깅하기 위해 활성 실행 나열하기.
Session occupied오류를 일으키는 세션을 식별·조사하기.- 현재 활성인 dbt 명령어(예:
run,build)를 실시간으로 모니터링하기.
dbt invocation 명령어는 활성 실행만 나열해요. 실행 중인 세션이 없으면 목록은 비어 있어요. 완료된 세션은 출력에 포함되지 않아요.
사용법
이 페이지는 dbt invocation과 함께 쓸 수 있는 명령어와 플래그를 나열해요. 이렇게 명령어·옵션을 추가해 사용하세요: dbt invocation [command].
커맨드라인 인터페이스(CLI)에서 사용 가능한 플래그는 help와 list예요.
dbt invocation help
help 명령어는 CLI에서 invocation 명령어에 대한 도움말 출력(사용 가능한 플래그 포함)을 제공해요.
dbt invocation help
또는
dbt help invocation
이 명령어는 다음 정보를 반환해요:
dbt invocation help
Manage invocations
Usage:
dbt invocation [command]
Available Commands:
list List active invocations
Flags:
-h, --help help for invocation
Global Flags:
--log-format LogFormat The log format, either json or plain. (default plain)
--log-level LogLevel The log level, one of debug, info, warning, error or fatal. (default info)
--no-color Disables colorization of the output.
-q, --quiet Suppress all non-error logging to stdout.
Use "dbt invocation [command] --help" for more information about a command.
dbt invocation list
list 명령어는 dbt platform CLI에서 활성 실행 목록을 제공해요. 긴 실행 세션이 활성일 때 별도의 터미널 창에서 이 명령어를 사용해 활성 세션을 확인해 문제를 디버깅할 수 있어요.
dbt invocation list
이 명령어는 활성 세션의 ID, status, type, arguments, started at 시간을 포함한 다음 정보를 반환해요:
dbt invocation list
Active Invocations:
ID 6dcf4723-e057-48b5-946f-a4d87e1d117a
Status running
Type cli
Args [run --select test.sql]
Started At 2025-01-24 11:03:19
➜ jaffle-shop git:(test-cli) ✗
tip
터미널에서 활성 세션을 취소하려면 Ctrl + Z 단축키를 사용하세요.
더 알아보기 (Learn more)
- dbt CLI 설치
- dbt CLI 'Session occupied' 오류 문제 해결