Skip to content

Commit 95999ac

Browse files
authored
dbt-databricks must be <1.10.2 (#1939)
1 parent 0c442e1 commit 95999ac

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/test-warehouse.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ jobs:
122122
run: >
123123
pip install
124124
"dbt-core${{ inputs.dbt-version && format('=={0}', inputs.dbt-version) }}"
125-
"dbt-${{ (inputs.warehouse-type == 'databricks_catalog' && 'databricks') || inputs.warehouse-type }}${{ inputs.dbt-version && format('<={0}', inputs.dbt-version) }}"
125+
# TODO: remove the <1.10.2 once we have a fix for https://github.com/elementary-data/elementary/issues/1931
126+
"dbt-${{ (inputs.warehouse-type == 'databricks_catalog' && 'databricks<1.10.2,') || inputs.warehouse-type }}${{ inputs.dbt-version && format('~={0}', inputs.dbt-version) }}"
126127
127128
- name: Install Elementary
128129
run: |

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ dbt-snowflake = {version = ">=0.20,<2.0.0", optional = true}
4040
dbt-bigquery = {version = ">=0.20,<2.0.0", optional = true}
4141
dbt-redshift = {version = ">=0.20,<2.0.0", optional = true}
4242
dbt-postgres = {version = ">=0.20,<2.0.0", optional = true}
43-
dbt-databricks = {version = ">=0.20,<2.0.0", optional = true}
43+
# TODO: change back to <2.0.0 once we have a fix for https://github.com/elementary-data/elementary/issues/1931
44+
dbt-databricks = {version = ">=0.20,<1.10.2", optional = true}
4445
dbt-spark = {version = ">=0.20,<2.0.0", optional = true}
4546
dbt-athena-community = {version = ">=1.6.3,<2.0.0", optional = true}
4647
dbt-trino = {version = ">=1.5.0,<2.0.0", optional = true}

0 commit comments

Comments
 (0)