Task_history returns both completed and running tasks.

Master Snowflake Data Engineer Exam. Study with flashcards and multiple choice questions, each question includes hints and explanations. Prepare for your success!

Multiple Choice

Task_history returns both completed and running tasks.

Explanation:
Task history is a log of every execution a task has run, including runs that are still in progress. When you query it, you get entries for each run with fields like start time, end time, and status. If a run is currently happening, end time is typically NULL and the status shows RUNNING. Once that run finishes, its status updates to SUCCESS or FAILED and the end time is filled in. Because it captures both completed and in-flight executions, task history can return both completed and running tasks, depending on when you query and how many results you pull.

Task history is a log of every execution a task has run, including runs that are still in progress. When you query it, you get entries for each run with fields like start time, end time, and status. If a run is currently happening, end time is typically NULL and the status shows RUNNING. Once that run finishes, its status updates to SUCCESS or FAILED and the end time is filled in. Because it captures both completed and in-flight executions, task history can return both completed and running tasks, depending on when you query and how many results you pull.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy