0% found this document useful (0 votes)
22 views1 page

System Data Metric Functions - Snowflake Documentation

The document discusses Snowflake's system data metric functions (DMFs) which allow users to measure data quality in their tables and views. It provides an overview of what system DMFs are, how they are maintained by Snowflake, and how each DMF enables measurement of a different data quality attribute. It also describes the two access control approaches to use system DMFs - granting the DATA_METRIC_USER role or granting specific privileges to the table owner role.

Uploaded by

demorepo99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views1 page

System Data Metric Functions - Snowflake Documentation

The document discusses Snowflake's system data metric functions (DMFs) which allow users to measure data quality in their tables and views. It provides an overview of what system DMFs are, how they are maintained by Snowflake, and how each DMF enables measurement of a different data quality attribute. It also describes the two access control approaches to use system DMFs - granting the DATA_METRIC_USER role or granting specific privileges to the table owner role.

Uploaded by

demorepo99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

4/29/24, 3:10 PM System data metric functions | Snowflake Documentation

Guides Data Governance System DMFs


System data metric functions
PREVIEW FEATURE — OPEN
Available to all accounts that are Enterprise Edition (or higher).
To inquire about upgrading, please contact Snowflake Support.

ENTERPRISE EDITION FEATURE


Data Quality and data metric functions (DMFs) require Enterprise Edition. To
inquire about upgrading, please contact Snowflake Support.

This topic is a reference for the system data metric functions (DMFs) that
Snowflake provides to all accounts.
You can call these system DMFs to start measuring your data quality immediately.
About system DMFs
Snowflake provides system DMFs in the CORE schema of the shared SNOWFLAKE
database. System DMFs are maintained by Snowflake; you cannot change the
name or functionality of any system DMF.
Each system DMF enables you to measure a different data quality attribute. You
can assign more than one system DMF to a table or view to allow for a more
comprehensive data quality measurement to address your governance and
compliance needs.
To use a system DMF, choose one of the following access control approaches:
Grant the DATA_METRIC_USER database role to the table owner role, which is
the role with the OWNERSHIP privilege on the table. This database role has the
USAGE privilege on the SNOWFLAKE.CORE schema and the USAGE privilege
on all system DMFs in the SNOWFLAKE.CORE schema.
Additionally, grant the privileges in this table to the table owner role:
Privilege Object Notes
EXECUTE DATA METRIC
https://docs.snowflake.com/en/user-guide/data-quality-system-dmfs
A t Thi i il bl t 1/1

You might also like