- Schema:
DATA_QUALITY_MONITORING_ANOMALY_DETECTION view¶
This view displays a row for every time a data metric function (DMF) ran with anomaly detection enabled.
Columns¶
Column name |
Data type |
Description |
|---|---|---|
|
TIMESTAMP_LTZ |
The time that the DMF is scheduled to run based on the schedule that you set for the table or view. |
|
TIMESTAMP_LTZ |
The time that the DMF trigger operation occurred, or For information about the trigger operation, see Schedule the DMF to run. |
|
TIMESTAMP_LTZ |
The time at which the metric was evaluated. |
|
NUMBER |
Internal, system-generated identifier of the table that is associated with the DMF. |
|
VARCHAR |
Name of the table that is associated with the DMF. |
|
VARCHAR |
Name of the schema name that contains the table that is associated with the DMF. |
|
VARCHAR |
Name of the database that contains the table that is associated with the DMF. |
|
NUMBER |
Internal, system-generated identifier of the DMF. |
|
VARCHAR |
Name of the DMF. |
|
VARCHAR |
Name of the schema that contains the DMF. |
|
VARCHAR |
Name of the database that contains the DMF. |
|
VARCHAR |
Return type of the DMF. |
|
VARCHAR |
The ID to uniquely identify the metric entity reference, known as the association ID. |
|
VARIANT |
The result of the DMF evaluation. |
|
BOOLEAN |
If TRUE, the |
|
NUMBER |
Highest value that should be returned by the DMF based on the anomaly-detecting algorithm. Values returned by the DMF that are above this upper bound are considered anomalies. |
|
NUMBER |
Lowest value that should be returned by the DMF based on the anomaly-detecting algorithm. Values returned by the DMF that are below this lower bound are considered anomalies. |
|
NUMBER |
Value that the anomaly-detecting algorithm predicted would be returned by the DMF. |
Access control requirements¶
The role used to query the view must be granted one of the following application roles:
SNOWFLAKE.DATA_QUALITY_MONITORING_VIEWER
SNOWFLAKE.DATA_QUALITY_MONITORING_ADMIN