diff --git a/macros/edr/data_monitoring/data_monitors_configuration/get_column_monitors.sql b/macros/edr/data_monitoring/data_monitors_configuration/get_column_monitors.sql index 8cefb3426..d70beb614 100644 --- a/macros/edr/data_monitoring/data_monitors_configuration/get_column_monitors.sql +++ b/macros/edr/data_monitoring/data_monitors_configuration/get_column_monitors.sql @@ -3,7 +3,7 @@ {% set column_obj_and_monitors = [] %} {% set column_objects = adapter.get_columns_in_relation(model_relation) %} {% for column_obj in column_objects %} - {% if column_obj.name | lower == column_name | lower %} + {% if column_obj.name.strip('"') | lower == column_name.strip('"') | lower %} {% set column_monitors = elementary.column_monitors_by_type(elementary.get_column_data_type(column_obj), column_tests) %} {% set column_item = {'column': column_obj, 'monitors': column_monitors} %} {{ return(column_item) }}