- Categories:
CUMULATIVE_PRIVACY_LOSSES¶
Returns the privacy budgets associated with a specific privacy policy.
For more information about viewing privacy budgets, see View a privacy budget.
Syntax¶
SNOWFLAKE.DATA_PRIVACY.CUMULATIVE_PRIVACY_LOSSES( '<privacy_policy>' )
Arguments¶
'privacy_policy'
Specifies the fully-qualified name of the privacy policy. A privacy policy is a schema-level object.
Output¶
Column |
Data type |
Description |
---|---|---|
|
VARCHAR |
Database that contains the privacy policy. |
|
VARCHAR |
Schema that contains the privacy policy. |
|
VARCHAR |
Name of the privacy policy. |
|
VARCHAR |
Name of the privacy budget in the privacy policy. |
|
VARCHAR |
Organization and account where users executed queries that incurred privacy loss. |
|
DECIMAL |
Cumulative privacy loss since the last time the privacy budget was refreshed. |
Usage notes¶
A privacy budget only appears if analysts associated with the privacy budget have incurred privacy loss or if an administrator has reset the privacy budget.
Examples¶
View the privacy budgets that are associated with the my_policy_privacy
policy:
SELECT *
FROM TABLE(SNOWFLAKE.DATA_PRIVACY.CUMULATIVE_PRIVACY_LOSSES(
'my_policy_db.my_policy_schema.my_policy_privacy'));