- Schema:
DATA_METRIC_FUNCTION_REFERENCES view¶
This Account Usage view can be used to identify data metric function objects and their references in your account.
The view is complementary to the Information Schema table function DATA_METRIC_FUNCTION_REFERENCES.
Columns¶
The view returns the following columns:
Column |
Data type |
Description |
---|---|---|
|
VARCHAR |
The database that stores the data metric function. |
|
VARCHAR |
The schema that stores the data metric function. |
|
VARCHAR |
The name of the data metric function. |
|
VARCHAR |
The type signature of the metrics arguments. |
|
VARCHAR |
The return data type of the data metric function. |
|
VARCHAR |
The database name that contains the object on which the data metric function is added. |
|
VARCHAR |
The schema name that contains the object on which the data metric function is added. |
|
VARCHAR |
The name of the table or view on which the data metric function is set. |
|
VARCHAR |
The object type (table, view) on which the data metric function is set. |
|
ARRAY |
Identifies the reference arguments used to evaluate the rule. |
|
VARCHAR |
A unique identifier for the association of the data metric function to the table or view. |
|
VARCHAR |
The schedule to run the data metric function on the table or view. The value for the schedule is always the most recent and effective schedule. |
|
VARCHAR |
The status of the metrics association. One of the following:
|
Usage notes¶
Latency for the view might be up to 3 hours.
To query this view, use a role that is granted either of these database roles at a minimum: SNOWFLAKE.GOVERNANCE_VIEWER or SNOWFLAKE.USAGE_VIEWER.