David Perez
06/14/2025, 9:20 AMkapa.ai
06/14/2025, 9:20 AMkapa.ai
06/14/2025, 9:20 AMDavid Perez
06/14/2025, 9:32 AMDavid Perez
06/14/2025, 9:33 AMkapa.ai
06/14/2025, 9:33 AMkapa.ai
06/14/2025, 9:33 AMDavid Perez
06/14/2025, 9:35 AMkapa.ai
06/14/2025, 9:35 AMkapa.ai
06/14/2025, 9:35 AMDavid Perez
06/14/2025, 9:41 AMkapa.ai
06/14/2025, 9:41 AMkapa.ai
06/14/2025, 9:42 AMcolumn_anomalies monitors at the model level inside the config.elementary section or in the dbt_project.yml file. According to the documentation and community discussions, the column_anomalies parameter must be set at the test level, not at the model or global config level. This means you need to define which monitors to run for each test, either in the model's YAML file under the specific test or directly on the column test configuration. Here’s an example of the correct usage at the test level: yaml models: - name: your_model columns: - name: your_column tests: - elementary.column_anomalies: column_anomalies: - null_count - average Attempts to set column_anomalies at the model level or in dbt_project.yml will not work and are not supported by Elementary or dbt’s configuration system [docs.elementary-data.com column_anomalies](https://docs.elementary-data.com/data-tests/anomaly-detection-configuration/column-anomalies) [Slack forum discussion](https://slack.com/archives/C02CTC89LAX/p1658915396893639). If you want to apply the same monitors to many columns, you must repeat the configuration for each column or use YAML anchors for reuse, but not at the model or project config level.David Perez
06/14/2025, 9:43 AMkapa.ai
06/14/2025, 9:43 AMkapa.ai
06/14/2025, 9:43 AMcolumn_anomalies parameter in the vars section of your dbt_project.yml file. According to the knowledge sources, column_anomalies is a test-level configuration and must be defined directly within the test block for each column or model. Attempts to set it at the project level (such as in vars or under config.elementary) will not work, as confirmed by both documentation and community support responses [docs.elementary-data.com column_anomalies](https://docs.elementary-data.com/data-tests/anomaly-detection-configuration/column-anomalies) [Slack forum discussion](https://slack.com/archives/C02CTC89LAX/p1658915396893639). Other configuration options (like some global thresholds or variables) may be set in vars, but not the list of monitors for column_anomalies.David Perez
06/14/2025, 10:20 AMkapa.ai
06/14/2025, 10:20 AMkapa.ai
06/14/2025, 10:20 AMDavid Perez
06/14/2025, 12:52 PMkapa.ai
06/14/2025, 12:52 PMkapa.ai
06/14/2025, 12:52 PM