Skip to content

Commit

Permalink
Enable support for dbt 1.x (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
clausherther authored Dec 5, 2021
1 parent b96cacc commit 28d47f7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

target/
dbt_modules/
dbt_packages/
logs/
.python-version
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# dbt-expectations v0.4.7
* Patch: adds support for dbt 1.x

# dbt-expectations v0.4.6

## What's Changed
* Append missing optional parameters documentation to README.md by @makotonium in https://github.com/calogica/dbt-expectations/pull/124
* Fix missing group_by default value in string_matching macros by @samantha-guerriero-cko in https://github.com/calogica/dbt-expectations/pull/126

## New Contributors
* @makotonium made their first contribution in https://github.com/calogica/dbt-expectations/pull/124
* @samantha-guerriero-cko made their first contribution in https://github.com/calogica/dbt-expectations/pull/126
# dbt-expectations v0.4.5

## Fixes
Expand Down
4 changes: 2 additions & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
name: 'dbt_expectations'
version: '0.4.0'

require-dbt-version: [">=0.20.0", "<0.22.0"]
require-dbt-version: [">=0.20.0", "<1.1.0"]
config-version: 2

target-path: "target"
clean-targets: ["target", "dbt_modules"]
clean-targets: ["target", "dbt_modules", "dbt_packages"]
macro-paths: ["macros"]
log-path: "logs"

Expand Down
4 changes: 1 addition & 3 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ data-paths: ["data"]
macro-paths: ["macros"]

target-path: "target"
clean-targets:
- "target"
- "dbt_modules"
clean-targets: ["target", "dbt_modules", "dbt_packages"]

dispatch:
- macro_namespace: dbt_expectations
Expand Down
3 changes: 0 additions & 3 deletions integration_tests/models/schema_tests/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ models:
- dbt_expectations.expect_row_values_to_have_recent_data:
datepart: day
interval: 1
- dbt_expectations.expect_row_values_to_have_recent_data:
datepart: day
interval: 1

- dbt_expectations.expect_column_values_to_be_of_type:
column_type: "{{ dbt_expectations.type_datetime() }}"
Expand Down

0 comments on commit 28d47f7

Please sign in to comment.