From 9cc5574518a2e07dda967f48489d00d210b86f5e Mon Sep 17 00:00:00 2001 From: Ben Cassell Date: Thu, 12 Oct 2023 13:52:50 -0700 Subject: [PATCH] get tests passing with interface compatibility --- dbt/adapters/databricks/impl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dbt/adapters/databricks/impl.py b/dbt/adapters/databricks/impl.py index 2ad345e47..3284615b3 100644 --- a/dbt/adapters/databricks/impl.py +++ b/dbt/adapters/databricks/impl.py @@ -23,6 +23,7 @@ from dbt.adapters.base.impl import catch_as_completed from dbt.adapters.base.meta import available from dbt.adapters.base.relation import BaseRelation, InformationSchema +from dbt.adapters.capability import CapabilityDict, CapabilitySupport, Support, Capability from dbt.adapters.spark.impl import ( SparkAdapter, GET_COLUMNS_IN_RELATION_RAW_MACRO_NAME, @@ -417,7 +418,9 @@ def parse_columns_from_information( # type: ignore[override] columns.append(column) return columns - def get_catalog(self, manifest: Manifest) -> Tuple[Table, List[Exception]]: + def get_catalog( + self, manifest: Manifest, selected_nodes: Optional[Set] = None + ) -> Tuple[Table, List[Exception]]: schema_map = self._get_catalog_schemas(manifest) with executor(self.config) as tpe: