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
Dear tree-sitter-sql developer,
Unions after cte aren't parsed properly, here are two examples. Please have a look.
with tb2 as (
SELECT * FROM tb1
)
(
(SELECT * FROM tb2)
UNION
(SELECT * FROM tb2)
)
;
with tb2 as (
SELECT * FROM tb1
)
(SELECT * FROM tb2)
UNION
(SELECT * FROM tb2)
;
The text was updated successfully, but these errors were encountered:
Thanks for reporting. The issues are the brackets, not the unions. Will take a closer look tomorrow.
Thanks for your swift response. The forked nvim-treesitter I use is not always in sync with the upstream, so my feedback maybe a little laggy. Previous examples got fixed, while I found another problem. Please have a look:
SELECT
a1.*
FROM (
SELECT * FROM tb01
UNION ALL
SELECT * FROM tb01
) a1
;
Dear tree-sitter-sql developer,
Unions after cte aren't parsed properly, here are two examples. Please have a look.
The text was updated successfully, but these errors were encountered: