diff --git a/dbt/adapters/base/__init__.py b/dbt/adapters/base/__init__.py index ade1af3d..f097cad9 100644 --- a/dbt/adapters/base/__init__.py +++ b/dbt/adapters/base/__init__.py @@ -1,5 +1,6 @@ from dbt.adapters.base.meta import available from dbt.adapters.base.column import Column +from dbt.adapters.base.catalogs import Catalog from dbt.adapters.base.connections import BaseConnectionManager from dbt.adapters.base.impl import ( AdapterConfig, diff --git a/dbt/adapters/capability.py b/dbt/adapters/capability.py index 2bd49112..4e410bb2 100644 --- a/dbt/adapters/capability.py +++ b/dbt/adapters/capability.py @@ -21,6 +21,8 @@ class Capability(str, Enum): """Indicates support for getting catalog information including table-level and column-level metadata for a single relation.""" + CreateExternalCatalog = "CreateExternalCatalog" + class Support(str, Enum): Unknown = "Unknown" diff --git a/dbt/adapters/contracts/connection.py b/dbt/adapters/contracts/connection.py index 2b694e00..751d6135 100644 --- a/dbt/adapters/contracts/connection.py +++ b/dbt/adapters/contracts/connection.py @@ -19,7 +19,7 @@ ValidatedStringMixin, dbtClassMixin, ) -from dbt_config.external_config import ExternalCatalogConfig +from dbt_config.catalog_config import ExternalCatalogConfig # TODO: this is a very bad dependency - shared global state