diff --git a/dbt/adapters/spark/relation.py b/dbt/adapters/spark/relation.py index 860935cbd..b98544a19 100644 --- a/dbt/adapters/spark/relation.py +++ b/dbt/adapters/spark/relation.py @@ -35,6 +35,7 @@ class SparkRelation(BaseRelation): is_iceberg: Optional[bool] = None # TODO: make this a dict everywhere information: Optional[str] = None + require_alias: bool = False def __post_init__(self) -> None: if self.database != self.schema and self.database: diff --git a/tests/functional/adapter/empty/test_empty.py b/tests/functional/adapter/empty/test_empty.py index 1ea2c8866..90f32953a 100644 --- a/tests/functional/adapter/empty/test_empty.py +++ b/tests/functional/adapter/empty/test_empty.py @@ -1,5 +1,9 @@ -from dbt.tests.adapter.empty.test_empty import BaseTestEmpty +from dbt.tests.adapter.empty.test_empty import BaseTestEmpty, BaseTestEmptyInlineSourceRef class TestSparkEmpty(BaseTestEmpty): pass + + +class TestSparkEmptyInlineSourceRef(BaseTestEmptyInlineSourceRef): + pass