Skip to content

Commit

Permalink
missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dataders committed Oct 2, 2023
1 parent 142c3fb commit 04ca293
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dbt/adapters/databricks/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
from dbt.utils import filter_null_values, classproperty
from dbt.exceptions import DbtRuntimeError

from dbt.adapters.databricks.relation_configs import (
DatabricksIncludePolicy,
DatabricksQuotePolicy,
DatabricksRelationType,
)

KEY_TABLE_PROVIDER = "Provider"

@dataclass(frozen=True, eq=False, repr=False)
Expand All @@ -21,7 +27,7 @@ class DatabricksRelation(BaseRelation):
include_policy: Policy = field(default_factory=lambda: DatabricksIncludePolicy())
quote_character: str = "`"
relation_configs = {
RelationType.MaterializedView.value: RedshiftMaterializedViewConfig,
# RelationType.MaterializedView.value: DatabricksMaterializedViewConfig,
}
renameable_relations = frozenset(
{
Expand Down
1 change: 1 addition & 0 deletions dbt/adapters/databricks/relation_configs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
from dbt.adapters.databricks.relation_configs.policies import (
DatabricksIncludePolicy,
DatabricksQuotePolicy,
DatabricksRelationType
)

0 comments on commit 04ca293

Please sign in to comment.