models: - name: < model name > config: elementary: timestamp_column: < timestamp column > columns: - name: < column name > data_tests: - elementary.column_anomalies: arguments: column_anomalies: < specific monitors, all if null > where_expression: < sql expression > time_bucket: # Daily by default period: < time period > count: < number of periods > - name: < model name > ## if no timestamp is configured, elementary will monitor without time filtering columns: - name: < column name > data_tests: - elementary.column_anomalies: arguments: column_anomalies: < specific monitors, all if null > where_expression: < sql expression >
Anomaly Detection Tests
column_anomalies
Copy
Ask AI
models: - name: < model name > config: elementary: timestamp_column: < timestamp column > columns: - name: < column name > data_tests: - elementary.column_anomalies: arguments: column_anomalies: < specific monitors, all if null > where_expression: < sql expression > time_bucket: # Daily by default period: < time period > count: < number of periods > - name: < model name > ## if no timestamp is configured, elementary will monitor without time filtering columns: - name: < column name > data_tests: - elementary.column_anomalies: arguments: column_anomalies: < specific monitors, all if null > where_expression: < sql expression >
elementary.column_anomaliesExecutes column level monitors and anomaly detection on the column.
Specific monitors are detailed in the table below and can be configured using the columns_anomalies configuration.The test checks the data type of the column and only executes monitors that are relevant to it.Default monitors by type:
models: - name: < model name > config: elementary: timestamp_column: < timestamp column > columns: - name: < column name > data_tests: - elementary.column_anomalies: arguments: column_anomalies: < specific monitors, all if null > where_expression: < sql expression > time_bucket: # Daily by default period: < time period > count: < number of periods > - name: < model name > ## if no timestamp is configured, elementary will monitor without time filtering columns: - name: < column name > data_tests: - elementary.column_anomalies: arguments: column_anomalies: < specific monitors, all if null > where_expression: < sql expression >