Skip to content

Commit

Permalink
add catalog concept
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt committed Oct 3, 2024
1 parent 40fca93 commit 00a74fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions dbt/adapters/base/__init__.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 2 additions & 0 deletions dbt/adapters/capability.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/contracts/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00a74fe

Please sign in to comment.