DATA_METRIC_SCHEDULED_TIME

functionsupportedGovernance (policies, tags, data quality)Enterprise+

docs.snowflake.com ↗

Data metric functions

Returns the timestamp for when a DMF is scheduled to run or the current timestamp if the function is called manually. You can use this DMF to define custom metrics to measure the freshness of your data or to define incremental metrics in conjunction with DMFs that already exist. Data Quality Monitoring requires Enterprise Edition. To inquire about upgrading, please contact Snowflake Support.

Syntax

SNOWFLAKE.CORE.DATA_METRIC_SCHEDULED_TIME()

Returns

The function returns a scalar value with a TIMESTAMP_LTZ data type.

Usage notes