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 1f753cb commit 958487dCopy full SHA for 958487d
macros/utils/data_types/cast_column.sql
@@ -29,7 +29,7 @@
29
{%- endmacro -%}
30
31
{%- macro dremio__edr_cast_as_timestamp(timestamp_field) -%}
32
- cast({{ timestamp_field }} as {{ elementary.edr_type_timestamp() }})
+ cast(REGEXP_REPLACE({{ timestamp_field }}, '(\.\d{3})\d+', '$1') as {{ elementary.edr_type_timestamp() }})
33
34
35
{%- macro edr_cast_as_float(column) -%}
0 commit comments