Skip to content

Commit

Permalink
Readd external type (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-db authored Jul 9, 2024
1 parent 9a20d5c commit ec63dce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## dbt-databricks next

- Fix `dbt seed` command failing for a seed file when the columns for that seed file were partially defined in the properties file. (thanks @kass-artur!) ([724](https://github.com/databricks/dbt-databricks/pull/724))
- Fix `dbt seed` command failing for a seed file when the columns for that seed file were partially defined in the properties file. (thanks @kass-artur!) ([724](https://github.com/databricks/dbt-databricks/pull/724))
- Readd the External relation type for compliance with adapter expectations ([728](https://github.com/databricks/dbt-databricks/pull/728))

## dbt-databricks 1.8.3 (June 25, 2024)

Expand Down
1 change: 1 addition & 0 deletions dbt/adapters/databricks/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class DatabricksRelationType(StrEnum):
MaterializedView = "materialized_view"
Foreign = "foreign"
StreamingTable = "streaming_table"
External = "external"
Unknown = "unknown"


Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def pytest_addoption(parser):
parser.addoption("--profile", action="store", default="databricks_uc_cluster", type=str)
parser.addoption("--profile", action="store", default="databricks_uc_sql_endpoint", type=str)


# Using @pytest.mark.skip_profile('databricks_cluster') uses the 'skip_by_adapter_type'
Expand Down

0 comments on commit ec63dce

Please sign in to comment.