My tasks in snowflake are executing fine, I can run the below and get QueryID's for each instance that runs
SELECT * FROM TABLE(INFORMATION_SCHEMA.TASK_HISTORY(TASK_NAME=> 'TitanLoadSuccessVsFail'))
But when I look at Query History for the warehouse that is running the tasks, there is none of these queryIDs.
SELECT * FROM TABLE(INFORMATION_SCHEMA.QUERY_HISTORY_BY_WAREHOUSE(WAREHOUSE_NAME => 'ITSM_MWH'))
ORDER BY START_TIME DESC
How do I find
- The query history for the tasks that run
- The results from each queryID
Thanks nick