tableRequiredstrthe table name
days_backintnumber of days between ds and the ds we want to check against. Defaults to 7 days
metrics_thresholdsRequireddicta dictionary of ratios indexed by metrics, for example ‘COUNT(*)’: 1.5 would require a 50 percent or less difference between the current day, and the prior days_back.
snowflake_conn_idstrReference to Snowflake connection id
autocommitboolif True, each command is automatically committed. (default value: True)
parametersdict or iterable(optional) the parameters to render the SQL query with.
warehousestrname of warehouse (will overwrite any warehouse defined in the connection’s extra JSON)
databasestrname of database (will overwrite database defined in connection)
schemastrname of schema (will overwrite schema defined in connection)
rolestrname of role (will overwrite any role defined in connection’s extra JSON)
authenticatorstrauthenticator for Snowflake. ‘snowflake’ (default) to use the internal Snowflake authenticator ‘externalbrowser’ to authenticate using your web browser and Okta, ADFS or any other SAML 2.0-compliant identify provider (IdP) that has been defined for your account ‘https://.okta.com’ to authenticate through native Okta.
session_parametersdictYou can set session-level parameters at the time you connect to Snowflake