Skip to content

Commit

Permalink
Cross-database date macro (#806)
Browse files Browse the repository at this point in the history
* Cross-database `date` macro

* Temporary dev requirements for testing

* Add meaningless newline to bump CI

* Update changelog entry

* Revert "Add meaningless newline to bump CI"

This reverts commit df3519e.

* Revert "Temporary dev requirements for testing"

This reverts commit e77835f.

---------

Co-authored-by: Colin Rogers <111200756+colin-rogers-dbt@users.noreply.github.com>
  • Loading branch information
dbeatty10 and colin-rogers-dbt committed May 14, 2024
1 parent 43968b5 commit 4b8add4
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-151859.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:59.292022-06:00
custom:
Author: dbeatty10
Issue: 808
5 changes: 5 additions & 0 deletions tests/functional/adapter/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,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 BaseCurrentTimestampNaive
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 @@ -61,6 +62,10 @@ class TestCurrentTimestamp(BaseCurrentTimestampNaive):
pass


class TestDate(BaseDate):
pass


class TestDateAdd(BaseDateAdd):
pass

Expand Down

0 comments on commit 4b8add4

Please sign in to comment.