Skip to content

Commit be553a0

Browse files
authored
Merge branch 'next/patch' into patch-4
2 parents caba6d5 + 80e72c5 commit be553a0

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This is a:
2-
- [ ] bug fix PR with no breaking changes — please ensure the base branch is `master`
2+
- [ ] bug fix PR with no breaking changes — please ensure the base branch is `main`
33
- [ ] new functionality — please ensure the base branch is the latest `dev/` branch
44
- [ ] a breaking change — please ensure the base branch is the latest `dev/` branch
55

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## Under the hood
44
- also ignore `dbt_packages/` directory [#463](https://github.com/dbt-labs/dbt-utils/pull/463)
55

6+
## Fixes
7+
- `type_timestamp` macro now explicitly casts postgres and redshift warehouse timestamp data types as `timestamp without time zone`, to be consistent with Snowflake behaviour (`timestamp_ntz`).
8+
69
# dbt-utils v0.8.0
710
## 🚨 Breaking changes
811
- dbt ONE POINT OH is here! This version of dbt-utils requires _any_ version (minor and patch) of v1, which means far less need for compatibility releases in the future.

macros/cross_db_utils/datatypes.sql

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
timestamp
3333
{% endmacro %}
3434

35+
{% macro postgres__type_timestamp() %}
36+
timestamp without time zone
37+
{% endmacro %}
38+
3539
{% macro snowflake__type_timestamp() %}
3640
timestamp_ntz
3741
{% endmacro %}

0 commit comments

Comments
 (0)