File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
dbt/include/oracle/macros/materializations/snapshot Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 4343
4444{% macro oracle__snapshot_staging_table(strategy, source_sql, target_relation) - %}
4545
46- {% set columns = config .get (' snapshot_meta_column_names ' ) or get_snapshot_table_column_names() %}
46+ {% set columns = config .get (' snapshot_table_column_names ' ) or get_snapshot_table_column_names() %}
4747 {% if strategy .hard_deletes == ' new_record' %}
4848 {% set new_scd_id = snapshot_hash_arguments([columns .dbt_scd_id , snapshot_get_time()]) %}
4949 {% endif %}
212212
213213
214214{% macro oracle__build_snapshot_table(strategy, sql) %}
215- {% set columns = config .get (' snapshot_meta_column_names ' ) or get_snapshot_table_column_names() %}
215+ {% set columns = config .get (' snapshot_table_column_names ' ) or get_snapshot_table_column_names() %}
216216
217217 select sbq.* ,
218218 {{ strategy .scd_id }} as {{ columns .dbt_scd_id }},
259259
260260
261261{% materialization snapshot, adapter= ' oracle' %}
262- {%- set config = model[' config' ] - %}
263262
264263 {%- set target_table = model .get (' alias' , model .get (' name' )) - %}
265264
301300
302301 {% else %}
303302
304- {% set columns = config .get (" snapshot_meta_column_names " ) or get_snapshot_table_column_names() %}
303+ {% set columns = config .get (" snapshot_table_column_names " ) or get_snapshot_table_column_names() %}
305304
306305 {{ adapter .assert_valid_snapshot_target_given_strategy (target_relation, columns, strategy) }}
307306
You can’t perform that action at this time.
0 commit comments