Skip to content

fix minor window function corpus test#359

Merged
matthias-Q merged 1 commit intoDerekStride:mainfrom
vergenzt:fix-window-function-test
Mar 2, 2026
Merged

fix minor window function corpus test#359
matthias-Q merged 1 commit intoDerekStride:mainfrom
vergenzt:fix-window-function-test

Conversation

@vergenzt
Copy link
Copy Markdown
Contributor

I'm designing a new language to be a superset of SQL and found this test which checks parse output for invalid SQL (which "should" be undefined).

I fixed it by fixing the syntax in the SQL query itself and running tree-sitter test --update to update the parse tree. It now correctly parses FROM tab1 as a (from ...) node instead of another column whose expression is FROM and whose alias is tab1. 🙂

Copy link
Copy Markdown
Collaborator

@matthias-Q matthias-Q left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@matthias-Q matthias-Q merged commit c2e1e08 into DerekStride:main Mar 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants