diff --git a/macros/calendar_date/from_unixtimestamp.sql b/macros/calendar_date/from_unixtimestamp.sql index 236d775..8479298 100644 --- a/macros/calendar_date/from_unixtimestamp.sql +++ b/macros/calendar_date/from_unixtimestamp.sql @@ -22,17 +22,6 @@ cast(to_timestamp({{ epochs }}) at time zone 'UTC' as timestamp) {%- endmacro %} -{%- macro postgres__from_unixtimestamp(epochs, format="seconds") -%} - {%- if format != "seconds" -%} - {{ exceptions.raise_compiler_error( - "value " ~ format ~ " for `format` for from_unixtimestamp is not supported." - ) - }} - {% endif -%} - cast(to_timestamp({{ epochs }}) at time zone 'UTC' as timestamp) -{%- endmacro %} - - {%- macro snowflake__from_unixtimestamp(epochs, format) -%} {%- if format == "seconds" -%} {%- set scale = 0 -%}