We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bbb765 commit d0f7c18Copy full SHA for d0f7c18
dbt/include/oracle/macros/materializations/snapshot/snapshot.sql
@@ -377,8 +377,8 @@
377
{%- endmacro %}
378
379
{% macro oracle__get_dbt_valid_to_current(strategy, columns) %}
380
- {% set dbt_valid_to_current = config.get('dbt_valid_to_current') or "CAST(null as TIMESTAMP(9)" %}
381
- coalesce(nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}), {{dbt_valid_to_current}}))
+ {% set dbt_valid_to_current = config.get('dbt_valid_to_current') or "CAST(null as TIMESTAMP(9))" %}
+ coalesce(nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}), {{dbt_valid_to_current}})
382
as {{ columns.dbt_valid_to }}
383
{% endmacro %}
384
0 commit comments