From 2aeeea130c39f318a1dd1aa2d4cafded1f7b65d3 Mon Sep 17 00:00:00 2001 From: eakmanrq <6326532+eakmanrq@users.noreply.github.com> Date: Fri, 4 Jul 2025 10:14:24 -0700 Subject: [PATCH] fix: don't include type when using ducklake --- sqlmesh/core/config/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlmesh/core/config/connection.py b/sqlmesh/core/config/connection.py index 2c897cd8a5..cebdb2128b 100644 --- a/sqlmesh/core/config/connection.py +++ b/sqlmesh/core/config/connection.py @@ -232,7 +232,7 @@ def to_sql(self, alias: str) -> str: options = [] # 'duckdb' is actually not a supported type, but we'd like to allow it for # fully qualified attach options or integration testing, similar to duckdb-dbt - if self.type not in ("duckdb", "motherduck"): + if self.type not in ("duckdb", "ducklake", "motherduck"): options.append(f"TYPE {self.type.upper()}") if self.read_only: options.append("READ_ONLY")