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.
timestamps.sql
1 parent c6aae9e commit e3be6b5Copy full SHA for e3be6b5
dbt-athena/.changes/unreleased/Fixes-20250623-140448.yaml
@@ -0,0 +1,7 @@
1
+kind: Fixes
2
+body: Correct comment specification in timestamps.sql file to not raise deprecation
3
+ warning
4
+time: 2025-06-23T14:04:48.204356-05:00
5
+custom:
6
+ Author: QMalcolm
7
+ Issue: "1168"
dbt-athena/src/dbt/include/athena/macros/utils/timestamps.sql
@@ -1,6 +1,6 @@
-{%
+{#
pyathena converts time zoned timestamps to strings so lets avoid them now()
-%}
+#}
{% macro athena__current_timestamp() -%}
{{ cast_timestamp('now()') }}
@@ -18,9 +18,9 @@
18
{%- endif -%}
19
{%- endmacro %}
20
21
22
Macro to get the end_of_time timestamp
23
24
25
{% macro end_of_time() -%}
26
{{ return(adapter.dispatch('end_of_time')()) }}
0 commit comments