Skip to content

fix: subquery unions & invalid tests - #180

Merged
matthias-Q merged 1 commit into
DerekStride:mainfrom
matthias-Q:subquery_unions
Jul 13, 2023
Merged

fix: subquery unions & invalid tests#180
matthias-Q merged 1 commit into
DerekStride:mainfrom
matthias-Q:subquery_unions

Conversation

@matthias-Q

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

Copy link
Copy Markdown
Collaborator

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
@matthias-Q
matthias-Q deleted the subquery_unions branch July 13, 2023 13:56
Comment thread grammar.js
optional($.from),
optional(";"),
),
$._dml_read

Copy link
Copy Markdown
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