File tree 2 files changed +8
-1
lines changed
core/dbt/include/global_project/macros/materializations/snapshots
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ kind : Fixes
2
+ body : Fix column comparison in snapshot_check_all_get_existing_columns to use adapter.get_columns_in_relation
3
+ time : 2022-05-11T12:32:38.313321+02:00
4
+ custom :
5
+ Author : jtcohen6
6
+ Issue : " 5222"
7
+ PR : " 5232"
Original file line number Diff line number Diff line change 126
126
{% do exceptions .raise_compiler_error (" Invalid value for 'check_cols': " ~ check_cols_config) %}
127
127
{% endif %}
128
128
129
- {%- set existing_cols = get_columns_in_relation(target_relation) | map(attribute = ' name' ) | list - %}
129
+ {%- set existing_cols = adapter . get_columns_in_relation (target_relation) | map(attribute = ' name' ) | list - %}
130
130
{%- set ns = namespace() - %} {# -- handle for-loop scoping with a namespace --#}
131
131
{%- set ns .column_added = false - %}
132
132
You can’t perform that action at this time.
0 commit comments