Skip to content

Commit 4a8c2a1

Browse files
pass dialect in schema_for_env; check if is model
1 parent e6b8cab commit 4a8c2a1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

sqlmesh/core/renderer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,11 @@ def _render(
110110
if snapshots and (
111111
schemas := set(
112112
[
113-
s.qualified_view_name.schema_for_environment(environment_naming_info)
113+
s.qualified_view_name.schema_for_environment(
114+
environment_naming_info, dialect=self._dialect
115+
)
114116
for s in snapshots.values()
117+
if s.is_model and not s.is_symbolic
115118
]
116119
)
117120
):

0 commit comments

Comments
 (0)