You are viewing documentation about an older version (1.12.1). View latest version

ObservabilityΒΆ

Classes

QueryHistory(session)

A context manager that listens to and records SQL queries that are pushed down to the Snowflake database.

QueryRecord(query_id, sql_text)

Contains the query information returned from the Snowflake database after the query is run.

Methods

QueryRecord.count(value, /)

Return number of occurrences of value.

QueryRecord.index(value[, start, stop])

Return first index of value.

Attributes

QueryHistory.queries

QueryRecord.query_id

Alias for field number 0

QueryRecord.sql_text

Alias for field number 1