From 4c1c83f586925cae29095ab8a95c0aec64703228 Mon Sep 17 00:00:00 2001 From: Jack Forgash <58153492+forgxyz@users.noreply.github.com> Date: Mon, 25 Sep 2023 12:17:56 -0600 Subject: [PATCH] small tweak --- .github/workflows/dbt_run_livequery_weekly.yml | 4 ++-- models/descriptions/_request_timestamp.md | 5 +++++ models/silver/labels/silver__nft_series_metadata.yml | 4 +++- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 models/descriptions/_request_timestamp.md diff --git a/.github/workflows/dbt_run_livequery_weekly.yml b/.github/workflows/dbt_run_livequery_weekly.yml index 8c09aaa..faf5022 100644 --- a/.github/workflows/dbt_run_livequery_weekly.yml +++ b/.github/workflows/dbt_run_livequery_weekly.yml @@ -1,5 +1,5 @@ -name: dbt_run_livequery -run-name: dbt_run_livequery +name: dbt_run_livequery_weekly +run-name: dbt_run_livequery_weekly on: workflow_dispatch: diff --git a/models/descriptions/_request_timestamp.md b/models/descriptions/_request_timestamp.md new file mode 100644 index 0000000..3b55aa6 --- /dev/null +++ b/models/descriptions/_request_timestamp.md @@ -0,0 +1,5 @@ +{% docs _request_timestamp %} + +Time (in UTC) when an API call was made. + +{% enddocs %} diff --git a/models/silver/labels/silver__nft_series_metadata.yml b/models/silver/labels/silver__nft_series_metadata.yml index f814bbc..56bb9ea 100644 --- a/models/silver/labels/silver__nft_series_metadata.yml +++ b/models/silver/labels/silver__nft_series_metadata.yml @@ -7,7 +7,7 @@ models: tests: - dbt_utils.recency: datepart: day - field: _inserted_timestamp + field: _request_timestamp interval: 5 columns: @@ -42,3 +42,5 @@ models: - name: _INSERTED_TIMESTAMP description: "{{ doc('_inserted_timestamp')}}" + - name: _REQUEST_TIMESTAMP + description: "{{ doc('_request_timestamp')}}"