Conversation
|
This pull request is built off of the branch in #82. I needed to be able to parse nested compound statements in order to parse the WITH clauses. |
|
I realized that this might need a little more work, since the following query would currently parse gives a syntax error in MySQL 8.0.30:
Since the two withs cannot occur at the same level. For example this is acceptable:
And it's not really that the WITH can't come after this UNION since this is syntactically correct: Considering all of that, I am not sure this is really something the parser should concern itself with. |
7a0dfab to
423ee2d
Compare
This change adds the ability to parse CTEs included with a SELECT anywhere that a nested_selection (compound or otherwise) is allowed. This change addresses #77.