DATA_METRIC_SCHEDULED_TIME
functionsupportedGovernance (policies, tags, data quality)Enterprise+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
- Calling this function manually in a SELECT query returns the same value as the CURRENT_TIMESTAMP function.
- You can call this function in the body of a custom DMF. You can’t call it in the FILTER clause of a DMF association. For more information, see Apply data quality checks to a subset of rows.