From 3fbeb280916fd40b92f68636ded901d507f24d30 Mon Sep 17 00:00:00 2001 From: Anna Bisset Date: Mon, 6 May 2024 10:07:28 +1000 Subject: [PATCH 1/3] Adding run_started_at to query comment --- macros/query_comment.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/macros/query_comment.sql b/macros/query_comment.sql index 6d80ba3..383fb86 100644 --- a/macros/query_comment.sql +++ b/macros/query_comment.sql @@ -23,6 +23,7 @@ node_resource_type=node.resource_type, node_meta=node.config.meta, node_tags=node.tags, + run_started_at=run_started_at.strftime("%Y-%m-%d %H:%M:%S"), full_refresh=flags.FULL_REFRESH, which=flags.WHICH, ) -%} From 0c562e66497a54864591a2724bbe729f6390a7be Mon Sep 17 00:00:00 2001 From: Anna Bisset Date: Mon, 6 May 2024 13:15:28 +1000 Subject: [PATCH 2/3] Adding changelog entry --- .changes/unreleased/Features-20240506-131218.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/Features-20240506-131218.yaml diff --git a/.changes/unreleased/Features-20240506-131218.yaml b/.changes/unreleased/Features-20240506-131218.yaml new file mode 100644 index 0000000..9aaf1c8 --- /dev/null +++ b/.changes/unreleased/Features-20240506-131218.yaml @@ -0,0 +1,6 @@ +kind: Features +body: Add run_started_at to query comment +time: 2024-05-06T13:12:18.799857+10:00 +custom: + Author: bisset-a + PR: "27" From 12d4e344e92696a029fcfc97324c7367ecde1972 Mon Sep 17 00:00:00 2001 From: Anna Bisset Date: Wed, 8 May 2024 13:36:48 +1000 Subject: [PATCH 3/3] Update query_comment.sql --- macros/query_comment.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/query_comment.sql b/macros/query_comment.sql index 383fb86..f842935 100644 --- a/macros/query_comment.sql +++ b/macros/query_comment.sql @@ -23,7 +23,7 @@ node_resource_type=node.resource_type, node_meta=node.config.meta, node_tags=node.tags, - run_started_at=run_started_at.strftime("%Y-%m-%d %H:%M:%S"), + run_started_at=run_started_at.astimezone(modules.pytz.utc).isoformat(), full_refresh=flags.FULL_REFRESH, which=flags.WHICH, ) -%}