Skip to content

Commit 317df56

Browse files
authored
fix: don't include type when using ducklake (#4913)
1 parent 3b66046 commit 317df56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmesh/core/config/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def to_sql(self, alias: str) -> str:
232232
options = []
233233
# 'duckdb' is actually not a supported type, but we'd like to allow it for
234234
# fully qualified attach options or integration testing, similar to duckdb-dbt
235-
if self.type not in ("duckdb", "motherduck"):
235+
if self.type not in ("duckdb", "ducklake", "motherduck"):
236236
options.append(f"TYPE {self.type.upper()}")
237237
if self.read_only:
238238
options.append("READ_ONLY")

0 commit comments

Comments
 (0)