how to set snowflake query_tag for ibis snowflake backend. #7998
Answered
by
cpcloud
ruiyang2015
asked this question in
Q&A
-
Search the docs and also tried using chatgpt, none give a good answer on how to set the connection and session level query_tag for ibis.snowflake backend, please help |
Beta Was this translation helpful? Give feedback.
Answered by
cpcloud
Mar 6, 2024
Replies: 2 comments
-
hi @ruiyang2015, is that something that can be set in the Snowflake Python connector? Ibis passes through additional kwargs to the underlying connection library if so |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can set this using con.raw_sql("ALTER SESSION SET QUERY_TAG = 'my_tag'") or by passing the appropriate ibis.snowflake.connect(
...,
session_parameters={"QUERY_TAG": "my_tag"}
) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cpcloud
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set this using
or by passing the appropriate
session_parameters
argument when connecting: