Skip to content

Commit 4da5401

Browse files
committed
fix: trino catalog lookup
1 parent 75f825e commit 4da5401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmesh/core/engine_adapter/trino.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def replace_query(
128128
supports_replace_table_override: t.Optional[bool] = None,
129129
**kwargs: t.Any,
130130
) -> None:
131-
catalog_type = self.get_catalog_type(self.get_catalog_type_from_table(table_name))
131+
catalog_type = self.get_catalog_type_from_table(table_name)
132132
# User may have a custom catalog type name so we are assuming they keep the catalog type still in the name
133133
# Ex: `acme_iceberg` would be identified as an iceberg catalog and therefore supports replace table
134134
supports_replace_table_override = None

0 commit comments

Comments
 (0)