{"record":{"id":"9695f8817a531cee","repo":"dbt-labs/dbt-core","slug":"apply-macro-present","errorCode":null,"errorMessage":"apply macro present","messagePattern":"apply macro present","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/dbt-classification-types/src/macros.rs","lineNumber":110,"sourceCode":"    }\n\n    #[test]\n    fn fetch_macro_content_references_tag_references_all_columns() {\n        let templates = propagation_macro_templates();\n        let (_, sql) = templates\n            .iter()\n            .find(|(n, _)| n == \"dbt_classification.fetch_snowflake_column_tags\")\n            .expect(\"fetch macro present\");\n        assert!(sql.contains(\"TAG_REFERENCES_ALL_COLUMNS\"));\n    }\n\n    #[test]\n    fn apply_macro_content_references_alter_relation_set_tag() {\n        let templates = propagation_macro_templates();\n        let (_, sql) = templates\n            .iter()\n            .find(|(n, _)| n == \"dbt_classification.apply_snowflake_column_tag\")\n            .expect(\"apply macro present\");\n        assert!(sql.contains(\"ALTER\"));\n        assert!(sql.contains(\"SET TAG\"));\n    }\n}\n","sourceCodeStart":92,"sourceCodeEnd":115,"githubUrl":"https://github.com/dbt-labs/dbt-core/blob/0267ce9170576975b76b64ce856b2e5848e96617/crates/dbt-classification-types/src/macros.rs#L92-L115","documentation":"Test-only assertion in the propagation-macros test: the built-in macro list must contain dbt_classification.apply_snowflake_column_tag. Fires only if that apply macro is renamed or dropped from propagation_macro_templates().","triggerScenarios":"Thrown at crates/dbt-classification-types/src/macros.rs:110 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Restore the apply_snowflake_column_tag entry in propagation_macro_templates","Keep macro names in sync with the classification feature","Update the test if the macro is intentionally renamed"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0267ce9170576975b76b64ce856b2e5848e96617","analyzedAt":"2026-09-07T21:53:39.732Z","contentChangedAt":"2026-09-07T21:53:39.732Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}