Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: subquery unions & invalid tests #180

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

matthias-Q
Copy link
Collaborator

@matthias-Q matthias-Q commented Jul 10, 2023

Fixes #176

I had to remove the optional ; from the subquery node, because I think it should not be there. It does not seem to be allowed in Postgres/MySQL.

@matthias-Q matthias-Q requested review from DerekStride and dmfay and removed request for DerekStride July 10, 2023 05:41
@matthias-Q matthias-Q merged commit e40d0c1 into DerekStride:main Jul 13, 2023
4 checks passed
@matthias-Q matthias-Q deleted the subquery_unions branch July 13, 2023 13:56
optional($.from),
optional(";"),
),
$._dml_read
Copy link
Owner

Choose a reason for hiding this comment

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

Nice and simple, the AST is really benefitting from the dml_read nodes 🎉

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.

unions after cte aren't parsed properly
2 participants