We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b2cc3 commit 97407c8Copy full SHA for 97407c8
dbt/include/oracle/macros/materializations/snapshot/snapshot.sql
@@ -164,7 +164,7 @@
164
{{ strategy.scd_id }} as dbt_scd_id,
165
{{ strategy.updated_at }} as dbt_updated_at,
166
{{ strategy.updated_at }} as dbt_valid_from,
167
- cast(nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as DATE) as dbt_valid_to
+ cast(nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as TIMESTAMP) as dbt_valid_to
168
from (
169
{{ sql }}
170
) sbq
0 commit comments