Skip to content

Commit

Permalink
Cross-database date macro (#81)
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Rogers <[email protected]>
  • Loading branch information
dbeatty10 and colin-rogers-dbt authored May 13, 2024
1 parent dc5c0f5 commit 3aba80e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20240501-151856.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Cross-database `date` macro
time: 2024-05-01T15:18:56.758715-06:00
custom:
Author: dbeatty10
Issue: 82
5 changes: 5 additions & 0 deletions tests/functional/shared_tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from dbt.tests.adapter.utils.test_cast_bool_to_text import BaseCastBoolToText
from dbt.tests.adapter.utils.test_concat import BaseConcat
from dbt.tests.adapter.utils.test_current_timestamp import BaseCurrentTimestampAware
from dbt.tests.adapter.utils.test_date import BaseDate
from dbt.tests.adapter.utils.test_dateadd import BaseDateAdd
from dbt.tests.adapter.utils.test_datediff import BaseDateDiff
from dbt.tests.adapter.utils.test_date_spine import BaseDateSpine
Expand Down Expand Up @@ -69,6 +70,10 @@ class TestCurrentTimestamp(BaseCurrentTimestampAware):
pass


class TestDate(BaseDate):
pass


class TestDateSpine(BaseDateSpine):
pass

Expand Down

0 comments on commit 3aba80e

Please sign in to comment.