snowflake.snowpark.Session.query_history¶
- Session.query_history(include_describe: bool = False, include_thread_id: bool = False) QueryHistory[source]¶
Create an instance of
QueryHistoryas a context manager to record queries that are pushed down to the Snowflake database.- Parameters:
include_describe – Include query notifications for describe queries
include_thread_id – Include thread id where queries are called