
Answer-first summary for fast verification
Answer: CURRENT_TASK_GRAPHS
The question asks for the table function to view details of a currently scheduled or executing Directed Acyclic Graph (DAG) run. According to Snowflake documentation and the community discussion, CURRENT_TASK_GRAPHS is specifically designed for this purpose - it returns the status of graph runs that are currently scheduled or executing, including those scheduled within the next 8 days. TASK_HISTORY (A) provides historical task execution data but not specifically for currently running/scheduled DAGs. TASK_DEPENDENTS (B) shows task dependencies but not current execution status. COMPLETE_TASK_GRAPHS (D) returns details for completed graph runs from the past 60 minutes, not currently scheduled or executing ones. The community discussion shows 100% consensus on option C with supporting documentation references.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.