Skip to content

Commit

Permalink
Fixes #412 by not requiring aliases for limit 0 clauses in dbt-duckdb
Browse files Browse the repository at this point in the history
  • Loading branch information
jwills committed Jul 11, 2024
1 parent 5d680c1 commit 7cee3f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions dbt/adapters/duckdb/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

@dataclass(frozen=True, eq=False, repr=False)
class DuckDBRelation(BaseRelation):
require_alias: bool = False
external: Optional[str] = None

@classmethod
Expand Down
9 changes: 9 additions & 0 deletions tests/functional/adapter/test_empty.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from dbt.tests.adapter.empty.test_empty import BaseTestEmpty, BaseTestEmptyInlineSourceRef


class TestDuckDBEmpty(BaseTestEmpty):
pass


class TestDuckDBEmptyInlineSourceRef(BaseTestEmptyInlineSourceRef):
pass

0 comments on commit 7cee3f8

Please sign in to comment.