snowflake.snowpark.QueryHistory¶
- class snowflake.snowpark.QueryHistory(session: Session, include_describe: bool = False, include_thread_id: bool = False)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.23.0/src/snowflake/snowpark/query_history.py#L28-L65)¶
Bases:
object
A context manager that listens to and records SQL queries that are pushed down to the Snowflake database.
Attributes
include_describe
include_thread_id