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
synapse__get_limit_subquery() wraps provided SQL string (sql) into a Subquery. If the subquery has a CTE, the SQL output by synapse__get_limit_subquery will throw the below error because CTEs are not supported within subqueries
('42000', "[42000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Parse error at line: 9, column: 5:Incorrect syntax near 'ID'. (103010) (SQLExecDirectW)")
This is especially a problem with the dbt Cloud IDE which will, by default, always try to only fetch the first 500 rows when previewing and compiling models.
synapse__get_limit_subquery()
wraps provided SQL string (sql
) into a Subquery. If the subquery has a CTE, the SQL output bysynapse__get_limit_subquery
will throw the below error because CTEs are not supported within subqueriesThis is especially a problem with the dbt Cloud IDE which will, by default, always try to only fetch the first 500 rows when previewing and compiling models.
I thought at first that
fabric__get_limit_subquery()
would work, butOFFSET
is not supported in Synapse.code in question
dbt-synapse/dbt/include/synapse/macros/adapters/show.sql
Lines 16 to 22 in 7d414cd
The text was updated successfully, but these errors were encountered: