You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
quoting parameters in ALTER SESSION SET for Snowflake is illegal syntax. #5666
sqlmesh quotes parameters in ALTER SESSION SET for Snowflake is illegal syntax.
What’s worse, it is even used in auto-generated queries. This is what I found in the logs:
2026-01-1516:35:07,526- ThreadPoolExecutor-30_0 -sqlmesh.core.engine_adapter.base- INFO - Executing SQL:
/* SQLMESH_PLAN: 1f393dd1a70d447e851739fbfeddd4b2 */
ALTER SESSION SET"TIMEZONE"='UTC'
ALTER SESSION SET "TIMEZONE" = 'UTC' is invalid SQL syntax for Snowflake.
Activity