Skip to main content

quality_monitor_refreshes

Operations on a quality_monitor_refreshes resource.

Overview

Namequality_monitor_refreshes
TypeResource
Iddatabricks_workspace.unitycatalog.quality_monitor_refreshes

Fields

NameDatatype
end_time_msinteger
messagestring
refresh_idinteger
start_time_msinteger
statestring
triggerstring

Methods

NameAccessible byRequired ParamsDescription
getrefreshSELECTrefresh_id, table_name, deployment_nameGets info about a specific monitor refresh using the given refresh ID.
listrefreshesSELECTtable_name, deployment_nameGets an array containing the history of the most recent refreshes (up to 25) for this table.
runrefreshEXECtable_name, deployment_nameQueues a metric refresh on the monitor for the specified table. The refresh will execute in the background.

SELECT examples

SELECT
end_time_ms,
message,
refresh_id,
start_time_ms,
state,
trigger
FROM databricks_workspace.unitycatalog.quality_monitor_refreshes
WHERE table_name = '{{ table_name }}' AND
deployment_name = '{{ deployment_name }}';