Skip to content

Commit

Permalink
Upgrade to Tuva package v0.10 (#64)
Browse files Browse the repository at this point in the history
* Add staging models

* Update gitignore

* Fix staging references

* Add fields to claims

* Add timestamp data type

* Update package version

* Update yml

* Remove duplicative type casting

* Update schema for final tables

* Add null placeholder to pharmacy claim

* Fix data type in pharmacy claim

* Add new fields to eligibility

* Standardize syntax

* Fix terminology reference

* Fix model names in yml

* Remove old tests for unsupported dbt version

* Update dbt version in github workflows

* Add data type casting to models before pivot
  • Loading branch information
sarah-tuva authored Aug 26, 2024
1 parent 8752da3 commit ac37b7b
Show file tree
Hide file tree
Showing 27 changed files with 598 additions and 289 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dbt_v1.4.6_bigquery_build_full_refresh
name: dbt_v1.6.3_bigquery_build_full_refresh

on:
workflow_dispatch:
Expand All @@ -18,17 +18,17 @@ jobs:
- uses: actions/checkout@v2

- name: dbt-deps
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt deps --profiles-dir ./integration_tests/profiles/bigquery"

- name: dbt-debug
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt debug --profiles-dir ./integration_tests/profiles/bigquery"

- name: dbt-build
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: 'dbt build --full-refresh --profiles-dir ./integration_tests/profiles/bigquery --vars {"tuva_database":"dev-ci-testing","input_database":"dev-ci-testing","input_schema":"cclf","tuva_schema_prefix":"cclf"}'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dbt_v1.4.6_redshift_build_full_refresh
name: dbt_v1.6.3_redshift_build_full_refresh

on:
workflow_dispatch:
Expand All @@ -19,17 +19,17 @@ jobs:
- uses: actions/checkout@v2

- name: dbt-deps
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt deps --profiles-dir ./integration_tests/profiles/redshift"

- name: dbt-debug
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt debug --profiles-dir ./integration_tests/profiles/redshift"

- name: dbt-build
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: 'dbt build --full-refresh --profiles-dir ./integration_tests/profiles/redshift --vars {"tuva_database":"dev_ci_testing","input_database":"dev_ci_testing","input_schema":"cclf","tuva_schema_prefix":"cclf"}'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dbt_v1.4.6_snowflake_build_full_refresh
name: dbt_v1.6.3_snowflake_build_full_refresh

on:
workflow_dispatch:
Expand All @@ -23,17 +23,17 @@ jobs:
- uses: actions/checkout@v2

- name: dbt-deps
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt deps --profiles-dir ./integration_tests/profiles/snowflake"

- name: dbt-debug
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt debug --profiles-dir ./integration_tests/profiles/snowflake"

- name: dbt-build
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: 'dbt build --full-refresh --profiles-dir ./integration_tests/profiles/snowflake --vars {"tuva_database":"dev_ci_testing","input_database":"dev_ci_testing","input_schema":"cclf","tuva_schema_prefix":"cclf"}'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: outside_contributor_dbt_v1.4.6_all_build_full_refresh
name: outside_contributor_dbt_v1.6.3_all_build_full_refresh

on:
workflow_dispatch:
Expand Down Expand Up @@ -35,17 +35,17 @@ jobs:
ref: refs/pull/${{ github.event.inputs.prNumber }}/merge

- name: dbt-deps
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt deps --profiles-dir ./integration_tests/profiles/snowflake"

- name: dbt-debug
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt debug --profiles-dir ./integration_tests/profiles/snowflake"

- name: dbt-build
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: 'dbt build --full-refresh --profiles-dir ./integration_tests/profiles/snowflake --vars {"tuva_database":"dev_ci_testing","input_database":"dev_ci_testing","input_schema":"cclf","tuva_schema_prefix":"cclf"}'

Expand All @@ -64,17 +64,17 @@ jobs:
ref: refs/pull/${{ github.event.inputs.prNumber }}/merge

- name: dbt-deps
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt deps --profiles-dir ./integration_tests/profiles/redshift"

- name: dbt-debug
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt debug --profiles-dir ./integration_tests/profiles/redshift"

- name: dbt-build
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: 'dbt build --full-refresh --profiles-dir ./integration_tests/profiles/redshift --vars {"tuva_database":"dev_ci_testing","input_database":"dev_ci_testing","input_schema":"cclf","tuva_schema_prefix":"cclf"}'

Expand All @@ -94,17 +94,17 @@ jobs:
ref: refs/pull/${{ github.event.inputs.prNumber }}/merge

- name: dbt-deps
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt deps --profiles-dir ./integration_tests/profiles/bigquery"

- name: dbt-debug
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: "dbt debug --profiles-dir ./integration_tests/profiles/bigquery"

- name: dbt-build
uses: mwhitaker/dbt-action@v1.4.6
uses: mwhitaker/dbt-action@v1.6.3
with:
dbt_command: 'dbt build --full-refresh --profiles-dir ./integration_tests/profiles/bigquery --vars {"tuva_database":"dev-ci-testing","input_database":"dev-ci-testing","input_schema":"cclf","tuva_schema_prefix":"cclf"}'

Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@
target/
dbt_packages/
logs/
package-lock.yml
.idea/
.DS_Store
.mise.toml
.venv/
package-lock.yml
.vscode
Loading

0 comments on commit ac37b7b

Please sign in to comment.