- Schema:
DATA_QUALITY_MONITORING_RESULTS view¶
This view displays a row for each result of calling a data metric function in your account.
Columns¶
The columns in the view are defined as follows:
Column name | Data type | Description |
|---|---|---|
| TIMESTAMP_LTZ | The time the DMF is scheduled to run based on the schedule that you set for the table or view. |
| TIMESTAMP_LTZ | The time 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 the DMF is associated with. |
| VARCHAR | Name of the table that the DMF is associated with. |
| VARCHAR | Name of the schema that contains the table that the DMF is associated with. |
| VARCHAR | Name of the database that contains the table that the DMF is associated with. |
| 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. |
| ARRAY | Array of the identifiers of the DMF arguments. Array elements are in the same order as the arguments. |
| ARRAY | Array of the domain/type of each DMF argument. Array elements are in the same order as the arguments. Currently only supports COLUMN type arguments. |
| ARRAY | Array of the names of the DMF arguments. For column arguments, each element is the name of a column. Array elements are in the same order as the arguments. |
| VARCHAR | The ID to uniquely identify the metric entity reference, known as the association ID. |
| VARIANT | The result of the DMF evaluation. |
Access control requirements¶
The role used to query the view must be granted the SNOWFLAKE.DATA_QUALITY_MONITORING_VIEWER application role or the SNOWFLAKE.DATA_QUALITY_MONITORING_ADMIN application role.