From c82284ea2d11e25ce58541e3f948a61823e94d8b Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Thu, 2 Nov 2023 16:25:21 +0000 Subject: [PATCH] Bumping version to 1.7.0 and generate changelog --- .bumpversion.cfg | 2 +- .changes/1.7.0-b1.md | 32 --------- .changes/1.7.0-b2.md | 24 ------- .changes/1.7.0-rc1.md | 21 ------ .changes/1.7.0.md | 53 +++++++++++++++ .../1.7.0/Dependencies-20230711-192047.yaml | 6 -- .../1.7.0/Dependencies-20230717-195349.yaml | 6 -- .../1.7.0/Dependencies-20230720-191748.yaml | 6 -- .../1.7.0/Dependencies-20230724-190537.yaml | 6 -- .../1.7.0/Dependencies-20230731-194135.yaml | 6 -- .../1.7.0/Dependencies-20230803-131633.yaml | 6 -- .../1.7.0/Dependencies-20230808-194553.yaml | 6 -- .../1.7.0/Dependencies-20230810-193150.yaml | 6 -- .../1.7.0/Dependencies-20230810-193846.yaml | 6 -- .../1.7.0/Dependencies-20230811-195421.yaml | 6 -- .../1.7.0/Dependencies-20230814-190800.yaml | 6 -- .../1.7.0/Dependencies-20230816-195425.yaml | 6 -- .../1.7.0/Dependencies-20230816-195442.yaml | 6 -- .../1.7.0/Dependencies-20230821-192842.yaml | 6 -- .../1.7.0/Dependencies-20230901-230919.yaml | 6 -- .../1.7.0/Dependencies-20230904-193307.yaml | 6 -- .../1.7.0/Dependencies-20230912-002353.yaml | 6 -- .../1.7.0/Dependencies-20230918-190833.yaml | 6 -- .changes/1.7.0/Features-20230803-111146.yaml | 6 -- .changes/1.7.0/Features-20230921-153707.yaml | 6 -- .changes/1.7.0/Fixes-20230802-103350.yaml | 6 -- .changes/1.7.0/Fixes-20230807-174409.yaml | 6 -- .changes/1.7.0/Fixes-20230815-151655.yaml | 6 -- .changes/1.7.0/Fixes-20230830-164611.yaml | 6 -- .changes/1.7.0/Fixes-20230908-113019.yaml | 6 -- .changes/1.7.0/Fixes-20230912-133327.yaml | 6 -- .changes/1.7.0/Fixes-20230923-091155.yaml | 6 -- .../1.7.0/Under the Hood-20230724-164439.yaml | 6 -- .../1.7.0/Under the Hood-20230808-141645.yaml | 7 -- .../1.7.0/Under the Hood-20230829-113206.yaml | 7 -- .../1.7.0/Under the Hood-20230914-135547.yaml | 7 -- .../1.7.0/Under the Hood-20230925-150132.yaml | 6 -- .../Dependencies-20230912-120620.yaml | 6 -- .../unreleased/Fixes-20231025-203732.yaml | 6 -- .../unreleased/Fixes-20231030-234315.yaml | 6 -- CHANGELOG.md | 66 ++++++------------- dbt/adapters/redshift/__version__.py | 2 +- 42 files changed, 75 insertions(+), 338 deletions(-) delete mode 100644 .changes/1.7.0-b1.md delete mode 100644 .changes/1.7.0-b2.md delete mode 100644 .changes/1.7.0-rc1.md create mode 100644 .changes/1.7.0.md delete mode 100644 .changes/1.7.0/Dependencies-20230711-192047.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230717-195349.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230720-191748.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230724-190537.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230731-194135.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230803-131633.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230808-194553.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230810-193150.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230810-193846.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230811-195421.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230814-190800.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230816-195425.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230816-195442.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230821-192842.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230901-230919.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230904-193307.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230912-002353.yaml delete mode 100644 .changes/1.7.0/Dependencies-20230918-190833.yaml delete mode 100644 .changes/1.7.0/Features-20230803-111146.yaml delete mode 100644 .changes/1.7.0/Features-20230921-153707.yaml delete mode 100644 .changes/1.7.0/Fixes-20230802-103350.yaml delete mode 100644 .changes/1.7.0/Fixes-20230807-174409.yaml delete mode 100644 .changes/1.7.0/Fixes-20230815-151655.yaml delete mode 100644 .changes/1.7.0/Fixes-20230830-164611.yaml delete mode 100644 .changes/1.7.0/Fixes-20230908-113019.yaml delete mode 100644 .changes/1.7.0/Fixes-20230912-133327.yaml delete mode 100644 .changes/1.7.0/Fixes-20230923-091155.yaml delete mode 100644 .changes/1.7.0/Under the Hood-20230724-164439.yaml delete mode 100644 .changes/1.7.0/Under the Hood-20230808-141645.yaml delete mode 100644 .changes/1.7.0/Under the Hood-20230829-113206.yaml delete mode 100644 .changes/1.7.0/Under the Hood-20230914-135547.yaml delete mode 100644 .changes/1.7.0/Under the Hood-20230925-150132.yaml delete mode 100644 .changes/unreleased/Dependencies-20230912-120620.yaml delete mode 100644 .changes/unreleased/Fixes-20231025-203732.yaml delete mode 100644 .changes/unreleased/Fixes-20231030-234315.yaml diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 1a999b129..da3640653 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.7.0rc1 +current_version = 1.7.0 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.7.0-b1.md b/.changes/1.7.0-b1.md deleted file mode 100644 index be669a9db..000000000 --- a/.changes/1.7.0-b1.md +++ /dev/null @@ -1,32 +0,0 @@ -## dbt-redshift 1.7.0-b1 - August 17, 2023 - -### Features - -- Support DISTSTYLE for seeds ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) - -### Fixes - -- Insert values of `merge_exclude_columns` when not matched ([#563](https://github.com/dbt-labs/dbt-redshift/issues/563)) - -### Under the Hood - -- Update stale workflow to use the centralized version ([#552](https://github.com/dbt-labs/dbt-redshift/issues/552)) -- Update flaky MV tests to use retry logic to avoid "cannot open relation with OID" error ([#569](https://github.com/dbt-labs/dbt-redshift/issues/569)) - -### Dependencies - -- Update black requirement from ~=23.3 to ~=23.7 ([#529](https://github.com/dbt-labs/dbt-redshift/pull/529)) -- Update pip-tools requirement from ~=6.14 to ~=7.0 ([#541](https://github.com/dbt-labs/dbt-redshift/pull/541)) -- Update ddtrace requirement from ~=1.16 to ~=1.17 ([#550](https://github.com/dbt-labs/dbt-redshift/pull/550)) -- Update wheel requirement from ~=0.40 to ~=0.41 ([#551](https://github.com/dbt-labs/dbt-redshift/pull/551)) -- Update flake8 requirement from ~=6.0 to ~=6.1 ([#562](https://github.com/dbt-labs/dbt-redshift/pull/562)) -- Update pip-tools requirement from ~=7.0 to ~=7.2 ([#567](https://github.com/dbt-labs/dbt-redshift/pull/567)) -- Update tox requirement from ~=4.6 to ~=4.7 ([#570](https://github.com/dbt-labs/dbt-redshift/pull/570)) -- Bump mypy from 1.4.1 to 1.5.0 ([#573](https://github.com/dbt-labs/dbt-redshift/pull/573)) -- Update pip-tools requirement from ~=7.2 to ~=7.3 ([#572](https://github.com/dbt-labs/dbt-redshift/pull/572)) -- Update ddtrace requirement from ~=1.17 to ~=1.18 ([#575](https://github.com/dbt-labs/dbt-redshift/pull/575)) -- Update tox requirement from ~=4.7 to ~=4.8 ([#581](https://github.com/dbt-labs/dbt-redshift/pull/581)) -- Update tox requirement from ~=4.8 to ~=4.9 ([#586](https://github.com/dbt-labs/dbt-redshift/pull/586)) - -### Contributors -- [@WillAyd](https://github.com/WillAyd) ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) diff --git a/.changes/1.7.0-b2.md b/.changes/1.7.0-b2.md deleted file mode 100644 index c7dd145a1..000000000 --- a/.changes/1.7.0-b2.md +++ /dev/null @@ -1,24 +0,0 @@ -## dbt-redshift 1.7.0-b2 - September 15, 2023 - -### Features - -- use get_replace_sql in redshift__get_alter_materialized_view_as_sql, avoid renaming materialized views with custom table.sql and view.sql ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) - -### Fixes - -- allow auto_refresh to take in boolean and str values for materialized views ([#560](https://github.com/dbt-labs/dbt-redshift/issues/560)) -- Fix to support removal of hologram, remove unused IAMDuration encoder ([#591](https://github.com/dbt-labs/dbt-redshift/issues/591)) -- changes expected value types to AnyInteger to take into account changes in core ([#597](https://github.com/dbt-labs/dbt-redshift/issues/597)) - -### Under the Hood - -- Restructure macro files to be more granular; organize macros by relation and type (create, drop, etc.) ([#590](https://github.com/dbt-labs/dbt-redshift/issues/590)) -- allow for bool/str input to backup/autorefresh when configuring materialized views ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) - -### Dependencies - -- Bump mypy from 1.5.0 to 1.5.1 ([#585](https://github.com/dbt-labs/dbt-redshift/pull/585)) -- Update tox requirement from ~=4.9 to ~=4.10 ([#588](https://github.com/dbt-labs/dbt-redshift/pull/588)) -- Update tox requirement from ~=4.10 to ~=4.11 ([#594](https://github.com/dbt-labs/dbt-redshift/pull/594)) -- Update pre-commit requirement from ~=3.3 to ~=3.4 ([#596](https://github.com/dbt-labs/dbt-redshift/pull/596)) -- Update black requirement from ~=23.7 to ~=23.9 ([#600](https://github.com/dbt-labs/dbt-redshift/pull/600)) diff --git a/.changes/1.7.0-rc1.md b/.changes/1.7.0-rc1.md deleted file mode 100644 index 384c7c320..000000000 --- a/.changes/1.7.0-rc1.md +++ /dev/null @@ -1,21 +0,0 @@ -## dbt-redshift 1.7.0-rc1 - October 12, 2023 - -### Features - -- Support storing test failures as views ([#6914](https://github.com/dbt-labs/dbt-redshift/issues/6914)) - -### Fixes - -- Use the PID to terminate the session ([#553](https://github.com/dbt-labs/dbt-redshift/issues/553)) -- avoid nested loop in query planner execution of redshift__get_relations ([#609](https://github.com/dbt-labs/dbt-redshift/issues/609)) - -### Under the Hood - -- Add tests for inlined limit + sql_header in dbt show query ([#616](https://github.com/dbt-labs/dbt-redshift/issues/616)) - -### Dependencies - -- Update ddtrace requirement from ~=1.18 to ~=1.19 ([#610](https://github.com/dbt-labs/dbt-redshift/pull/610)) - -### Contributors -- [@slin30](https://github.com/slin30) ([#609](https://github.com/dbt-labs/dbt-redshift/issues/609)) diff --git a/.changes/1.7.0.md b/.changes/1.7.0.md new file mode 100644 index 000000000..2e74e22bd --- /dev/null +++ b/.changes/1.7.0.md @@ -0,0 +1,53 @@ +## dbt-redshift 1.7.0 - November 02, 2023 + +### Features + +- Support DISTSTYLE for seeds ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) +- use get_replace_sql in redshift__get_alter_materialized_view_as_sql, avoid renaming materialized views with custom table.sql and view.sql ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) +- Support storing test failures as views ([#6914](https://github.com/dbt-labs/dbt-redshift/issues/6914)) + +### Fixes + +- Insert values of `merge_exclude_columns` when not matched ([#563](https://github.com/dbt-labs/dbt-redshift/issues/563)) +- Use the PID to terminate the session ([#553](https://github.com/dbt-labs/dbt-redshift/issues/553)) +- allow auto_refresh to take in boolean and str values for materialized views ([#560](https://github.com/dbt-labs/dbt-redshift/issues/560)) +- Fix to support removal of hologram, remove unused IAMDuration encoder ([#591](https://github.com/dbt-labs/dbt-redshift/issues/591)) +- changes expected value types to AnyInteger to take into account changes in core ([#597](https://github.com/dbt-labs/dbt-redshift/issues/597)) +- avoid nested loop in query planner execution of redshift__get_relations ([#609](https://github.com/dbt-labs/dbt-redshift/issues/609)) +- Fix parsing of database results for materialized view auto refresh ([#643](https://github.com/dbt-labs/dbt-redshift/issues/643)) +- Catalog queries assign the appropriate type for materialized views ([#652](https://github.com/dbt-labs/dbt-redshift/issues/652)) + +### Under the Hood + +- Update stale workflow to use the centralized version ([#552](https://github.com/dbt-labs/dbt-redshift/issues/552)) +- Update flaky MV tests to use retry logic to avoid "cannot open relation with OID" error ([#569](https://github.com/dbt-labs/dbt-redshift/issues/569)) +- Restructure macro files to be more granular; organize macros by relation and type (create, drop, etc.) ([#590](https://github.com/dbt-labs/dbt-redshift/issues/590)) +- allow for bool/str input to backup/autorefresh when configuring materialized views ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) +- Add tests for inlined limit + sql_header in dbt show query ([#616](https://github.com/dbt-labs/dbt-redshift/issues/616)) + +### Dependencies + +- Update black requirement from ~=23.3 to ~=23.7 ([#529](https://github.com/dbt-labs/dbt-redshift/pull/529)) +- Update pip-tools requirement from ~=6.14 to ~=7.0 ([#541](https://github.com/dbt-labs/dbt-redshift/pull/541)) +- Update ddtrace requirement from ~=1.16 to ~=1.17 ([#550](https://github.com/dbt-labs/dbt-redshift/pull/550)) +- Update wheel requirement from ~=0.40 to ~=0.41 ([#551](https://github.com/dbt-labs/dbt-redshift/pull/551)) +- Update flake8 requirement from ~=6.0 to ~=6.1 ([#562](https://github.com/dbt-labs/dbt-redshift/pull/562)) +- Update pip-tools requirement from ~=7.0 to ~=7.2 ([#567](https://github.com/dbt-labs/dbt-redshift/pull/567)) +- Update tox requirement from ~=4.6 to ~=4.7 ([#570](https://github.com/dbt-labs/dbt-redshift/pull/570)) +- Bump mypy from 1.4.1 to 1.5.0 ([#573](https://github.com/dbt-labs/dbt-redshift/pull/573)) +- Update pip-tools requirement from ~=7.2 to ~=7.3 ([#572](https://github.com/dbt-labs/dbt-redshift/pull/572)) +- Update ddtrace requirement from ~=1.17 to ~=1.18 ([#575](https://github.com/dbt-labs/dbt-redshift/pull/575)) +- Update tox requirement from ~=4.7 to ~=4.8 ([#581](https://github.com/dbt-labs/dbt-redshift/pull/581)) +- Bump mypy from 1.5.0 to 1.5.1 ([#585](https://github.com/dbt-labs/dbt-redshift/pull/585)) +- Update tox requirement from ~=4.8 to ~=4.9 ([#586](https://github.com/dbt-labs/dbt-redshift/pull/586)) +- Update tox requirement from ~=4.9 to ~=4.10 ([#588](https://github.com/dbt-labs/dbt-redshift/pull/588)) +- Update tox requirement from ~=4.10 to ~=4.11 ([#594](https://github.com/dbt-labs/dbt-redshift/pull/594)) +- Update pre-commit requirement from ~=3.3 to ~=3.4 ([#596](https://github.com/dbt-labs/dbt-redshift/pull/596)) +- Update black requirement from ~=23.7 to ~=23.9 ([#600](https://github.com/dbt-labs/dbt-redshift/pull/600)) +- Update redshift-connector requirement from ~=2.0.913 to ~=2.0.914 ([#601](https://github.com/dbt-labs/dbt-redshift/pull/601)) +- Update ddtrace requirement from ~=1.18 to ~=1.19 ([#610](https://github.com/dbt-labs/dbt-redshift/pull/610)) + +### Contributors +- [@WillAyd](https://github.com/WillAyd) ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) +- [@slin30](https://github.com/slin30) ([#609](https://github.com/dbt-labs/dbt-redshift/issues/609)) +- [@soksamnanglim](https://github.com/soksamnanglim) ([#601](https://github.com/dbt-labs/dbt-redshift/pull/601)) diff --git a/.changes/1.7.0/Dependencies-20230711-192047.yaml b/.changes/1.7.0/Dependencies-20230711-192047.yaml deleted file mode 100644 index fa7c1df80..000000000 --- a/.changes/1.7.0/Dependencies-20230711-192047.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.3 to ~=23.7" -time: 2023-07-11T19:20:47.00000Z -custom: - Author: dependabot[bot] - PR: 529 diff --git a/.changes/1.7.0/Dependencies-20230717-195349.yaml b/.changes/1.7.0/Dependencies-20230717-195349.yaml deleted file mode 100644 index 542970ab8..000000000 --- a/.changes/1.7.0/Dependencies-20230717-195349.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pip-tools requirement from ~=6.14 to ~=7.0" -time: 2023-07-17T19:53:49.00000Z -custom: - Author: dependabot[bot] - PR: 541 diff --git a/.changes/1.7.0/Dependencies-20230720-191748.yaml b/.changes/1.7.0/Dependencies-20230720-191748.yaml deleted file mode 100644 index eb79676d4..000000000 --- a/.changes/1.7.0/Dependencies-20230720-191748.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.16 to ~=1.17" -time: 2023-07-20T19:17:48.00000Z -custom: - Author: dependabot[bot] - PR: 550 diff --git a/.changes/1.7.0/Dependencies-20230724-190537.yaml b/.changes/1.7.0/Dependencies-20230724-190537.yaml deleted file mode 100644 index c61cb9df3..000000000 --- a/.changes/1.7.0/Dependencies-20230724-190537.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update wheel requirement from ~=0.40 to ~=0.41" -time: 2023-07-24T19:05:37.00000Z -custom: - Author: dependabot[bot] - PR: 551 diff --git a/.changes/1.7.0/Dependencies-20230731-194135.yaml b/.changes/1.7.0/Dependencies-20230731-194135.yaml deleted file mode 100644 index c9990b89a..000000000 --- a/.changes/1.7.0/Dependencies-20230731-194135.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update flake8 requirement from ~=6.0 to ~=6.1" -time: 2023-07-31T19:41:35.00000Z -custom: - Author: dependabot[bot] - PR: 562 diff --git a/.changes/1.7.0/Dependencies-20230803-131633.yaml b/.changes/1.7.0/Dependencies-20230803-131633.yaml deleted file mode 100644 index d6755cd13..000000000 --- a/.changes/1.7.0/Dependencies-20230803-131633.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pip-tools requirement from ~=7.0 to ~=7.2" -time: 2023-08-03T13:16:33.00000Z -custom: - Author: dependabot[bot] - PR: 567 diff --git a/.changes/1.7.0/Dependencies-20230808-194553.yaml b/.changes/1.7.0/Dependencies-20230808-194553.yaml deleted file mode 100644 index 95c0b6dd1..000000000 --- a/.changes/1.7.0/Dependencies-20230808-194553.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.6 to ~=4.7" -time: 2023-08-08T19:45:53.00000Z -custom: - Author: dependabot[bot] - PR: 570 diff --git a/.changes/1.7.0/Dependencies-20230810-193150.yaml b/.changes/1.7.0/Dependencies-20230810-193150.yaml deleted file mode 100644 index e2b0c1250..000000000 --- a/.changes/1.7.0/Dependencies-20230810-193150.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.4.1 to 1.5.0" -time: 2023-08-10T19:31:50.00000Z -custom: - Author: dependabot[bot] - PR: 573 diff --git a/.changes/1.7.0/Dependencies-20230810-193846.yaml b/.changes/1.7.0/Dependencies-20230810-193846.yaml deleted file mode 100644 index 4a55d3114..000000000 --- a/.changes/1.7.0/Dependencies-20230810-193846.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pip-tools requirement from ~=7.2 to ~=7.3" -time: 2023-08-10T19:38:46.00000Z -custom: - Author: dependabot[bot] - PR: 572 diff --git a/.changes/1.7.0/Dependencies-20230811-195421.yaml b/.changes/1.7.0/Dependencies-20230811-195421.yaml deleted file mode 100644 index 5cc2f61bf..000000000 --- a/.changes/1.7.0/Dependencies-20230811-195421.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.17 to ~=1.18" -time: 2023-08-11T19:54:21.00000Z -custom: - Author: dependabot[bot] - PR: 575 diff --git a/.changes/1.7.0/Dependencies-20230814-190800.yaml b/.changes/1.7.0/Dependencies-20230814-190800.yaml deleted file mode 100644 index 0e39e5ba7..000000000 --- a/.changes/1.7.0/Dependencies-20230814-190800.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.7 to ~=4.8" -time: 2023-08-14T19:08:00.00000Z -custom: - Author: dependabot[bot] - PR: 581 diff --git a/.changes/1.7.0/Dependencies-20230816-195425.yaml b/.changes/1.7.0/Dependencies-20230816-195425.yaml deleted file mode 100644 index 989b20103..000000000 --- a/.changes/1.7.0/Dependencies-20230816-195425.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.5.0 to 1.5.1" -time: 2023-08-16T19:54:25.00000Z -custom: - Author: dependabot[bot] - PR: 585 diff --git a/.changes/1.7.0/Dependencies-20230816-195442.yaml b/.changes/1.7.0/Dependencies-20230816-195442.yaml deleted file mode 100644 index 850982f99..000000000 --- a/.changes/1.7.0/Dependencies-20230816-195442.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.8 to ~=4.9" -time: 2023-08-16T19:54:42.00000Z -custom: - Author: dependabot[bot] - PR: 586 diff --git a/.changes/1.7.0/Dependencies-20230821-192842.yaml b/.changes/1.7.0/Dependencies-20230821-192842.yaml deleted file mode 100644 index c6e5a7a6b..000000000 --- a/.changes/1.7.0/Dependencies-20230821-192842.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.9 to ~=4.10" -time: 2023-08-21T19:28:42.00000Z -custom: - Author: dependabot[bot] - PR: 588 diff --git a/.changes/1.7.0/Dependencies-20230901-230919.yaml b/.changes/1.7.0/Dependencies-20230901-230919.yaml deleted file mode 100644 index 178fc9ff5..000000000 --- a/.changes/1.7.0/Dependencies-20230901-230919.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update tox requirement from ~=4.10 to ~=4.11" -time: 2023-09-01T23:09:19.00000Z -custom: - Author: dependabot[bot] - PR: 594 diff --git a/.changes/1.7.0/Dependencies-20230904-193307.yaml b/.changes/1.7.0/Dependencies-20230904-193307.yaml deleted file mode 100644 index 11707de31..000000000 --- a/.changes/1.7.0/Dependencies-20230904-193307.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pre-commit requirement from ~=3.3 to ~=3.4" -time: 2023-09-04T19:33:07.00000Z -custom: - Author: dependabot[bot] - PR: 596 diff --git a/.changes/1.7.0/Dependencies-20230912-002353.yaml b/.changes/1.7.0/Dependencies-20230912-002353.yaml deleted file mode 100644 index be7230348..000000000 --- a/.changes/1.7.0/Dependencies-20230912-002353.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update black requirement from ~=23.7 to ~=23.9" -time: 2023-09-12T00:23:53.00000Z -custom: - Author: dependabot[bot] - PR: 600 diff --git a/.changes/1.7.0/Dependencies-20230918-190833.yaml b/.changes/1.7.0/Dependencies-20230918-190833.yaml deleted file mode 100644 index f784102ca..000000000 --- a/.changes/1.7.0/Dependencies-20230918-190833.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update ddtrace requirement from ~=1.18 to ~=1.19" -time: 2023-09-18T19:08:33.00000Z -custom: - Author: dependabot[bot] - PR: 610 diff --git a/.changes/1.7.0/Features-20230803-111146.yaml b/.changes/1.7.0/Features-20230803-111146.yaml deleted file mode 100644 index 098e8888e..000000000 --- a/.changes/1.7.0/Features-20230803-111146.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support DISTSTYLE for seeds -time: 2023-08-03T11:11:46.571996-06:00 -custom: - Author: WillAyd - Issue: "255" diff --git a/.changes/1.7.0/Features-20230921-153707.yaml b/.changes/1.7.0/Features-20230921-153707.yaml deleted file mode 100644 index cf2c60ad5..000000000 --- a/.changes/1.7.0/Features-20230921-153707.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support storing test failures as views -time: 2023-09-21T15:37:07.970722-04:00 -custom: - Author: mikealfare - Issue: "6914" diff --git a/.changes/1.7.0/Fixes-20230802-103350.yaml b/.changes/1.7.0/Fixes-20230802-103350.yaml deleted file mode 100644 index 5c5a1fe79..000000000 --- a/.changes/1.7.0/Fixes-20230802-103350.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Insert values of `merge_exclude_columns` when not matched -time: 2023-08-02T10:33:50.107228-06:00 -custom: - Author: dbeatty10 - Issue: "563" diff --git a/.changes/1.7.0/Fixes-20230807-174409.yaml b/.changes/1.7.0/Fixes-20230807-174409.yaml deleted file mode 100644 index ad4f11b42..000000000 --- a/.changes/1.7.0/Fixes-20230807-174409.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Use the PID to terminate the session -time: 2023-08-07T17:44:09.15097-06:00 -custom: - Author: dbeatty10 - Issue: "553" diff --git a/.changes/1.7.0/Fixes-20230815-151655.yaml b/.changes/1.7.0/Fixes-20230815-151655.yaml deleted file mode 100644 index 15829017b..000000000 --- a/.changes/1.7.0/Fixes-20230815-151655.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: allow auto_refresh to take in boolean and str values for materialized views -time: 2023-08-15T15:16:55.771712-05:00 -custom: - Author: McKnight-42 - Issue: "560" diff --git a/.changes/1.7.0/Fixes-20230830-164611.yaml b/.changes/1.7.0/Fixes-20230830-164611.yaml deleted file mode 100644 index ba8d47c01..000000000 --- a/.changes/1.7.0/Fixes-20230830-164611.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix to support removal of hologram, remove unused IAMDuration encoder -time: 2023-08-30T16:46:11.83975-04:00 -custom: - Author: gshank - Issue: "591" diff --git a/.changes/1.7.0/Fixes-20230908-113019.yaml b/.changes/1.7.0/Fixes-20230908-113019.yaml deleted file mode 100644 index ed5957317..000000000 --- a/.changes/1.7.0/Fixes-20230908-113019.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: changes expected value types to AnyInteger to take into account changes in core -time: 2023-09-08T11:30:19.77143-05:00 -custom: - Author: McKnight-42 - Issue: "597" diff --git a/.changes/1.7.0/Fixes-20230912-133327.yaml b/.changes/1.7.0/Fixes-20230912-133327.yaml deleted file mode 100644 index e5aa98d47..000000000 --- a/.changes/1.7.0/Fixes-20230912-133327.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: use get_replace_sql in redshift__get_alter_materialized_view_as_sql, avoid renaming materialized views with custom table.sql and view.sql -time: 2023-09-12T13:33:27.451042-07:00 -custom: - Author: colin-rogers-dbt - Issue: "606" diff --git a/.changes/1.7.0/Fixes-20230923-091155.yaml b/.changes/1.7.0/Fixes-20230923-091155.yaml deleted file mode 100644 index 055d4dc7e..000000000 --- a/.changes/1.7.0/Fixes-20230923-091155.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: avoid nested loop in query planner execution of redshift__get_relations -time: 2023-09-23T09:11:55.2152725-04:00 -custom: - Author: slin30 - Issue: "609" diff --git a/.changes/1.7.0/Under the Hood-20230724-164439.yaml b/.changes/1.7.0/Under the Hood-20230724-164439.yaml deleted file mode 100644 index 59f929e69..000000000 --- a/.changes/1.7.0/Under the Hood-20230724-164439.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Update stale workflow to use the centralized version -time: 2023-07-24T16:44:39.683995-04:00 -custom: - Author: mikealfare - Issue: "552" diff --git a/.changes/1.7.0/Under the Hood-20230808-141645.yaml b/.changes/1.7.0/Under the Hood-20230808-141645.yaml deleted file mode 100644 index 051bf0e33..000000000 --- a/.changes/1.7.0/Under the Hood-20230808-141645.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Update flaky MV tests to use retry logic to avoid "cannot open relation with - OID" error -time: 2023-08-08T14:16:45.227308-04:00 -custom: - Author: mikealfare - Issue: "569" diff --git a/.changes/1.7.0/Under the Hood-20230829-113206.yaml b/.changes/1.7.0/Under the Hood-20230829-113206.yaml deleted file mode 100644 index d9dafe59c..000000000 --- a/.changes/1.7.0/Under the Hood-20230829-113206.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Restructure macro files to be more granular; organize macros by relation and - type (create, drop, etc.) -time: 2023-08-29T11:32:06.653271-04:00 -custom: - Author: mikealfare - Issue: "590" diff --git a/.changes/1.7.0/Under the Hood-20230914-135547.yaml b/.changes/1.7.0/Under the Hood-20230914-135547.yaml deleted file mode 100644 index 3bb8e3c8a..000000000 --- a/.changes/1.7.0/Under the Hood-20230914-135547.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: allow for bool/str input to backup/autorefresh when configuring materialized - views -time: 2023-09-14T13:55:47.951848-07:00 -custom: - Author: colin-rogers-dbt - Issue: "606" diff --git a/.changes/1.7.0/Under the Hood-20230925-150132.yaml b/.changes/1.7.0/Under the Hood-20230925-150132.yaml deleted file mode 100644 index c61a28d56..000000000 --- a/.changes/1.7.0/Under the Hood-20230925-150132.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Add tests for inlined limit + sql_header in dbt show query -time: 2023-09-25T15:01:32.025325+01:00 -custom: - Author: michelleark - Issue: "616" diff --git a/.changes/unreleased/Dependencies-20230912-120620.yaml b/.changes/unreleased/Dependencies-20230912-120620.yaml deleted file mode 100644 index be139237d..000000000 --- a/.changes/unreleased/Dependencies-20230912-120620.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: Update redshift-connector requirement from ~=2.0.913 to ~=2.0.914 -time: 2023-09-12T12:06:20.401643-07:00 -custom: - Author: soksamnanglim - PR: "601" diff --git a/.changes/unreleased/Fixes-20231025-203732.yaml b/.changes/unreleased/Fixes-20231025-203732.yaml deleted file mode 100644 index 9e6bf1af7..000000000 --- a/.changes/unreleased/Fixes-20231025-203732.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix parsing of database results for materialized view auto refresh -time: 2023-10-25T20:37:32.191259-04:00 -custom: - Author: mikealfare - Issue: "643" diff --git a/.changes/unreleased/Fixes-20231030-234315.yaml b/.changes/unreleased/Fixes-20231030-234315.yaml deleted file mode 100644 index 823e252dd..000000000 --- a/.changes/unreleased/Fixes-20231030-234315.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Catalog queries assign the appropriate type for materialized views -time: 2023-10-30T23:43:15.281772-04:00 -custom: - Author: mikealfare - Issue: "652" diff --git a/CHANGELOG.md b/CHANGELOG.md index 147746017..af9f70ffa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,68 +5,32 @@ - "Breaking changes" listed under a version may require action from end users or external maintainers when upgrading to that version. - Do not edit this file directly. This file is auto-generated using [changie](https://github.com/miniscruff/changie). For details on how to document a change, see [the contributing guide](https://github.com/dbt-labs/dbt-redshift/blob/main/CONTRIBUTING.md#adding-changelog-entry) -## dbt-redshift 1.7.0-rc1 - October 12, 2023 +## dbt-redshift 1.7.0 - November 02, 2023 ### Features +- Support DISTSTYLE for seeds ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) +- use get_replace_sql in redshift__get_alter_materialized_view_as_sql, avoid renaming materialized views with custom table.sql and view.sql ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) - Support storing test failures as views ([#6914](https://github.com/dbt-labs/dbt-redshift/issues/6914)) ### Fixes +- Insert values of `merge_exclude_columns` when not matched ([#563](https://github.com/dbt-labs/dbt-redshift/issues/563)) - Use the PID to terminate the session ([#553](https://github.com/dbt-labs/dbt-redshift/issues/553)) -- avoid nested loop in query planner execution of redshift__get_relations ([#609](https://github.com/dbt-labs/dbt-redshift/issues/609)) - -### Under the Hood - -- Add tests for inlined limit + sql_header in dbt show query ([#616](https://github.com/dbt-labs/dbt-redshift/issues/616)) - -### Dependencies - -- Update ddtrace requirement from ~=1.18 to ~=1.19 ([#610](https://github.com/dbt-labs/dbt-redshift/pull/610)) - -### Contributors -- [@slin30](https://github.com/slin30) ([#609](https://github.com/dbt-labs/dbt-redshift/issues/609)) - - -## dbt-redshift 1.7.0-b2 - September 15, 2023 - -### Features - -- use get_replace_sql in redshift__get_alter_materialized_view_as_sql, avoid renaming materialized views with custom table.sql and view.sql ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) - -### Fixes - - allow auto_refresh to take in boolean and str values for materialized views ([#560](https://github.com/dbt-labs/dbt-redshift/issues/560)) - Fix to support removal of hologram, remove unused IAMDuration encoder ([#591](https://github.com/dbt-labs/dbt-redshift/issues/591)) - changes expected value types to AnyInteger to take into account changes in core ([#597](https://github.com/dbt-labs/dbt-redshift/issues/597)) - -### Under the Hood - -- Restructure macro files to be more granular; organize macros by relation and type (create, drop, etc.) ([#590](https://github.com/dbt-labs/dbt-redshift/issues/590)) -- allow for bool/str input to backup/autorefresh when configuring materialized views ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) - -### Dependencies - -- Bump mypy from 1.5.0 to 1.5.1 ([#585](https://github.com/dbt-labs/dbt-redshift/pull/585)) -- Update tox requirement from ~=4.9 to ~=4.10 ([#588](https://github.com/dbt-labs/dbt-redshift/pull/588)) -- Update tox requirement from ~=4.10 to ~=4.11 ([#594](https://github.com/dbt-labs/dbt-redshift/pull/594)) -- Update pre-commit requirement from ~=3.3 to ~=3.4 ([#596](https://github.com/dbt-labs/dbt-redshift/pull/596)) -- Update black requirement from ~=23.7 to ~=23.9 ([#600](https://github.com/dbt-labs/dbt-redshift/pull/600)) - -## dbt-redshift 1.7.0-b1 - August 17, 2023 - -### Features - -- Support DISTSTYLE for seeds ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) - -### Fixes - -- Insert values of `merge_exclude_columns` when not matched ([#563](https://github.com/dbt-labs/dbt-redshift/issues/563)) +- avoid nested loop in query planner execution of redshift__get_relations ([#609](https://github.com/dbt-labs/dbt-redshift/issues/609)) +- Fix parsing of database results for materialized view auto refresh ([#643](https://github.com/dbt-labs/dbt-redshift/issues/643)) +- Catalog queries assign the appropriate type for materialized views ([#652](https://github.com/dbt-labs/dbt-redshift/issues/652)) ### Under the Hood - Update stale workflow to use the centralized version ([#552](https://github.com/dbt-labs/dbt-redshift/issues/552)) - Update flaky MV tests to use retry logic to avoid "cannot open relation with OID" error ([#569](https://github.com/dbt-labs/dbt-redshift/issues/569)) +- Restructure macro files to be more granular; organize macros by relation and type (create, drop, etc.) ([#590](https://github.com/dbt-labs/dbt-redshift/issues/590)) +- allow for bool/str input to backup/autorefresh when configuring materialized views ([#606](https://github.com/dbt-labs/dbt-redshift/issues/606)) +- Add tests for inlined limit + sql_header in dbt show query ([#616](https://github.com/dbt-labs/dbt-redshift/issues/616)) ### Dependencies @@ -81,10 +45,20 @@ - Update pip-tools requirement from ~=7.2 to ~=7.3 ([#572](https://github.com/dbt-labs/dbt-redshift/pull/572)) - Update ddtrace requirement from ~=1.17 to ~=1.18 ([#575](https://github.com/dbt-labs/dbt-redshift/pull/575)) - Update tox requirement from ~=4.7 to ~=4.8 ([#581](https://github.com/dbt-labs/dbt-redshift/pull/581)) +- Bump mypy from 1.5.0 to 1.5.1 ([#585](https://github.com/dbt-labs/dbt-redshift/pull/585)) - Update tox requirement from ~=4.8 to ~=4.9 ([#586](https://github.com/dbt-labs/dbt-redshift/pull/586)) +- Update tox requirement from ~=4.9 to ~=4.10 ([#588](https://github.com/dbt-labs/dbt-redshift/pull/588)) +- Update tox requirement from ~=4.10 to ~=4.11 ([#594](https://github.com/dbt-labs/dbt-redshift/pull/594)) +- Update pre-commit requirement from ~=3.3 to ~=3.4 ([#596](https://github.com/dbt-labs/dbt-redshift/pull/596)) +- Update black requirement from ~=23.7 to ~=23.9 ([#600](https://github.com/dbt-labs/dbt-redshift/pull/600)) +- Update redshift-connector requirement from ~=2.0.913 to ~=2.0.914 ([#601](https://github.com/dbt-labs/dbt-redshift/pull/601)) +- Update ddtrace requirement from ~=1.18 to ~=1.19 ([#610](https://github.com/dbt-labs/dbt-redshift/pull/610)) ### Contributors - [@WillAyd](https://github.com/WillAyd) ([#255](https://github.com/dbt-labs/dbt-redshift/issues/255)) +- [@slin30](https://github.com/slin30) ([#609](https://github.com/dbt-labs/dbt-redshift/issues/609)) +- [@soksamnanglim](https://github.com/soksamnanglim) ([#601](https://github.com/dbt-labs/dbt-redshift/pull/601)) + ## Previous Releases For information on prior major and minor releases, see their changelogs: diff --git a/dbt/adapters/redshift/__version__.py b/dbt/adapters/redshift/__version__.py index 748f8f4ea..a55413d15 100644 --- a/dbt/adapters/redshift/__version__.py +++ b/dbt/adapters/redshift/__version__.py @@ -1 +1 @@ -version = "1.7.0rc1" +version = "1.7.0"