Update Snowflake hook to print query id before the query is finished #45988
Unanswered
mjohansenwork
asked this question in
Ideas
Replies: 1 comment
-
It looks like this is where the cursor |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Snowflake hook logs the query id here
airflow/providers/src/airflow/providers/snowflake/hooks/snowflake.py
Line 478 in ce2c891
My suggestion is to move the line of code where the query id is logged to be as early as possible. I think the query id should be logged as soon as the query is started.
Beta Was this translation helpful? Give feedback.
All reactions