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 f86a46a commit acf923eCopy full SHA for acf923e
macros/supporting/string_to_timestamp.sql
@@ -20,7 +20,7 @@
20
{%- endmacro -%}
21
22
{%- macro postgres__string_to_timestamp(format, timestamp) -%}
23
- TO_TIMESTAMP('{{ timestamp }}', '{{ format }}')
+ CAST(TO_TIMESTAMP('{{ timestamp }}', '{{ format }}') AS {{ datavault4dbt.timestamp_default_dtype() }})
24
25
26
{%- macro redshift__string_to_timestamp(format, timestamp) -%}
0 commit comments