File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 341
341
{%- set datatype = datatype | string | upper | trim - %}
342
342
343
343
{%- if ghost_record_type == ' unknown' - %}
344
- {%- if ' TIMESTAMP' in datatype %}{{ datavault4dbt .string_to_timestamp (timestamp_format, beginning_of_all_times_date ) }} AS {{ alias }}
344
+ {%- if ' TIMESTAMP' in datatype %}{{ datavault4dbt .string_to_timestamp (timestamp_format, beginning_of_all_times ) }} AS {{ alias }}
345
345
{%- elif datatype == ' TIME WITH TIME ZONE' %} CAST(' 00:00:01 UTC' as TIMETZ) as {{ alias }}
346
346
{%- elif datatype == ' TIME WITHOUT TIME ZONE' %} CAST(' 00:00:01' as TIME ) as {{ alias }}
347
347
{%- elif datatype == ' DATE' - %} TO_DATE(' {{ beginning_of_all_times_date }}' , ' {{ date_format }}' ) as {{ alias }}
395
395
{%- set datatype = datatype | string | upper | trim - %}
396
396
397
397
{%- if ghost_record_type == ' unknown' - %}
398
- {%- if ' TIMESTAMP' in datatype %}{{ datavault4dbt .string_to_timestamp (timestamp_format, beginning_of_all_times_date ) }} AS {{ alias }}
398
+ {%- if ' TIMESTAMP' in datatype %}{{ datavault4dbt .string_to_timestamp (timestamp_format, beginning_of_all_times ) }} AS {{ alias }}
399
399
{%- elif datatype == ' TIMETZ' %} CAST(' 00:00:01 UTC' as TIMETZ) as {{ alias }}
400
400
{%- elif datatype == ' TIME' %} CAST(' 00:00:01' as TIME ) as {{ alias }}
401
401
{%- elif datatype == ' DATE' - %} TO_DATE(' {{ beginning_of_all_times_date }}' , ' {{ date_format }}' ) as {{ alias }}
You can’t perform that action at this time.
0 commit comments