snowflake.snowpark.Session.query_history¶
- Session.query_history() QueryHistory[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.20.0/src/snowflake/snowpark/session.py#L3266-L3277)¶
Create an instance of
QueryHistoryas a context manager to record queries that are pushed down to the Snowflake database.