Skip to content

[Release] Update to 1.5 (#315)#316

Merged
andrefurlan-db merged 11 commits into
mainfrom
1.5.test
May 2, 2023
Merged

[Release] Update to 1.5 (#315)#316
andrefurlan-db merged 11 commits into
mainfrom
1.5.test

Conversation

@andrefurlan-db
Copy link
Copy Markdown
Collaborator

@andrefurlan-db andrefurlan-db commented Apr 19, 2023

Resolves #314

Description

Update to dbt 1.5.0 with release 1.5.0rc1.

  • We fixed all tests
  • Added nice error message for model contracts while we are working on supporting it

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

Comment thread dev-requirements.txt Outdated
Comment thread requirements.txt Outdated
@susodapop susodapop temporarily deployed to azure-prod-pecou April 26, 2023 22:29 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-peco April 26, 2023 22:29 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-pecou May 1, 2023 20:01 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-peco May 1, 2023 20:01 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-pecou May 1, 2023 20:17 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-peco May 1, 2023 20:17 — with GitHub Actions Inactive
@rcypher-databricks rcypher-databricks temporarily deployed to azure-prod-pecou May 2, 2023 04:41 — with GitHub Actions Inactive
@rcypher-databricks rcypher-databricks temporarily deployed to azure-prod-peco May 2, 2023 04:41 — with GitHub Actions Inactive
andrefurlan-db and others added 7 commits May 2, 2023 09:21
Signed-off-by: Andre Furlan <andre.furlan@databricks.com>
Co-authored-by: Anders <anders.swanson@dbtlabs.com>
Co-authored-by: Anders <anders.swanson@dbtlabs.com>
This is a mirror of dbt-spark#632

Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
* Mirror of dbt-databricks#319 but rebased on 1.5.test branch
* Fix: test_fail_fast failure
This is failing because the new dbt-core test runner doesn't re-raise the
initial FailFastException as of dbt-core==1.5.0rc2
* Fix: log message in `impl.py` completely breaks docs generation for
integration tests. This is a mirror of: https: //github.com/dbt-labs/dbt-spark/pull/698
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
* Mirror of dbt-databricks#319 but rebased on 1.5.test branch

Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>

* Throw error if model contract enforced

Until we support dbt 1.5 model contracts we will throw an error if contract->enforced is set to true for a model.

Added doc outlining differences between dbt-databricks constraints and dbt model contract.

Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>

* Update change log

Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>

* added missing newline

Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>

* Add all columns to model definition

Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>

---------

Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
Co-authored-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
@andrefurlan-db andrefurlan-db temporarily deployed to azure-prod-pecou May 2, 2023 16:25 — with GitHub Actions Inactive
@andrefurlan-db andrefurlan-db temporarily deployed to azure-prod-peco May 2, 2023 16:25 — with GitHub Actions Inactive
Signed-off-by: Andre Furlan <andre.furlan@databricks.com>
@andrefurlan-db andrefurlan-db temporarily deployed to azure-prod-pecou May 2, 2023 16:26 — with GitHub Actions Inactive
@andrefurlan-db andrefurlan-db changed the title change to 1.5 (#315) [Release] Update to 1.5 (#315) May 2, 2023
Signed-off-by: Andre Furlan <andre.furlan@databricks.com>
@andrefurlan-db andrefurlan-db temporarily deployed to azure-prod-peco May 2, 2023 16:28 — with GitHub Actions Inactive
@andrefurlan-db andrefurlan-db temporarily deployed to azure-prod-pecou May 2, 2023 16:28 — with GitHub Actions Inactive
Signed-off-by: Andre Furlan <andre.furlan@databricks.com>
@andrefurlan-db andrefurlan-db temporarily deployed to azure-prod-pecou May 2, 2023 16:31 — with GitHub Actions Inactive
@andrefurlan-db andrefurlan-db temporarily deployed to azure-prod-peco May 2, 2023 16:31 — with GitHub Actions Inactive
Signed-off-by: Andre Furlan <andre.furlan@databricks.com>
@andrefurlan-db andrefurlan-db temporarily deployed to azure-prod-pecou May 2, 2023 16:36 — with GitHub Actions Inactive
@andrefurlan-db andrefurlan-db temporarily deployed to azure-prod-peco May 2, 2023 16:36 — with GitHub Actions Inactive
@andrefurlan-db
Copy link
Copy Markdown
Collaborator Author

I'll merge this with Ray's approval

@andrefurlan-db andrefurlan-db merged commit 4b50f33 into main May 2, 2023
@andrefurlan-db andrefurlan-db deleted the 1.5.test branch May 2, 2023 19:27
andrefurlan-db added a commit that referenced this pull request May 2, 2023
Resolves #314

Update to dbt 1.5.0 with release `1.5.0rc1`.

* We fixed all tests
* Added a nice error message for model contracts while we are working on supporting it

---------

Signed-off-by: Andre Furlan <andre.furlan@databricks.com>
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Signed-off-by: Raymond Cypher <raymond.cypher@databricks.com>
Co-authored-by: Jesse <jesse.whitehouse@databricks.com>
Co-authored-by: Raymond Cypher <raymond.cypher@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

upgrade to support dbt-core v1.5.0

4 participants