Skip to content

Commit e3be6b5

Browse files
authored
Correct comment blocks in dbt-athena's timestamps.sql marcos file (#1171)
1 parent c6aae9e commit e3be6b5

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{%
1+
{#
22
pyathena converts time zoned timestamps to strings so lets avoid them now()
3-
%}
3+
#}
44

55
{% macro athena__current_timestamp() -%}
66
{{ cast_timestamp('now()') }}
@@ -18,9 +18,9 @@
1818
{%- endif -%}
1919
{%- endmacro %}
2020

21-
{%
21+
{#
2222
Macro to get the end_of_time timestamp
23-
%}
23+
#}
2424

2525
{% macro end_of_time() -%}
2626
{{ return(adapter.dispatch('end_of_time')()) }}

0 commit comments

Comments
 (0)