10.16 Release Notes: May 4, 2026-May 6, 2026

Attention

This release has completed. For differences between the in-advance and final versions of these release notes, see Release notes change log.

Data governance updates

Apply data quality checks by group (General availability)

You can now associate a data metric function (DMF) with a table or view by using a WITHIN GROUP clause, so the DMF is evaluated separately for each distinct combination of values in one or more grouping columns. Instead of getting a single scalar value across all rows, you get one result row per group, which makes it easier to identify quality issues within specific segments (for example, null counts per region or duplicate counts per product category).

This feature is generally available and includes the following capabilities:

  • Use ALTER TABLE ... ADD DATA METRIC FUNCTION ... WITHIN GROUP (col [, col ...]) to create a grouped association. Optionally append GROUP LIMIT <integer> to cap the number of groups per evaluation (valid range 1 through 1000, default 1000). The WITHIN GROUP clause can be combined with the existing FILTER clause on the same association.

  • Use the new optional WITHIN_GROUP_VALUES argument on SYSTEM$DATA_METRIC_SCAN and SYSTEM$EVALUATE_DATA_QUALITY_EXPECTATIONS to scan error rows or evaluate expectations on demand for a specific group.

  • Define expectations on grouped associations. Each group is evaluated and recorded independently in the event table, and Snowflake fires at most one notification per evaluation, based on the worst-group (maximum) metric value.

Supported for most system DMFs in the SNOWFLAKE.CORE schema (including NULL_COUNT, DUPLICATE_COUNT, and ROW_COUNT) and for most custom DMFs. The following aren’t supported with WITHIN GROUP in this release: the FRESHNESS and REFERENTIAL_INTEGRITY_COUNT system DMFs; schema-level associations (ALTER SCHEMA ... ADD DATA METRIC FUNCTION); anomaly detection (the per-association ANOMALY_DETECTION property and the SNOWFLAKE.CORE anomaly DMFs); and custom DMFs that use CTEs, UNION, UNION ALL, JOIN, DISTINCT, or window functions.

For more information, see Apply data quality checks by group.

New columns in DMF results and references views

The following views and table functions now expose grouping information for DMF associations and their results:

For more information, see the following topics:

Release notes change log

Announcement

Update

Date

Release notes

Initial publication (preview)

May 4, 2026

Release notes

Final publication

May 6, 2026