-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Parser fails for updates that include subqueries for source tables #269
Comments
@Tithugues can I have some help with this one? |
@juacala , what does it mean that the parser "fails" please? Do you have an error? If not, what result do you expect? |
To clarify, below is the same output but using var_dump (together with the JSON above, they give you an idea of what is being output).
Perhaps I'm confused as to what I should expect, but I would have expected a single Update object that has the subquery as one of the source tables. Something liike:
|
I also encountered this issue. I tried to dump the list of statements but it separated the statements |
The SQL Parser fails to parse the following query:
It returns the output below. This appears to always be an issue when using subqueries in the table references.
The text was updated successfully, but these errors were encountered: