SNOW-1348391: Unable to use query_tag in Snowflake-SQLAlchemy #495
Labels
feature
status-pr_pending_merge
A PR is made and is under review
status-triage_done
Initial triage done, will be further handled by the driver team
What is the current behavior?
Currently, the Snowflake-SQLAlchemy library does not support the query_tag parameter when executing queries against Snowflake. The query_tag parameter allows users to attach custom metadata to their queries, facilitating query identification, resource management, and performance optimization within the Snowflake environment.
Reasons for Using query_tag:
What is the desired behavior?
Users should be able to include the query_tag in session_parameter in their SQLAlchemy queries when connecting to Snowflake, with the specified tag being propagated to Snowflake and associated with the corresponding query execution.
How would this improve
snowflake-connector-python
?Add support for the query_tag in session_parameter in the Snowflake-SQLAlchemy library, allowing users to specify custom query tags when executing queries. This enhancement will provide users with greater flexibility and control over query metadata, improving query management and performance monitoring capabilities.
The addition of query_tag support in Snowflake-SQLAlchemy will align the library more closely with Snowflake's capabilities and best practices, enhancing the overall user experience and enabling more sophisticated query management strategies.
References, Other Background
#266
The text was updated successfully, but these errors were encountered: