-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ParseException: Encountered unexpected token: "inner" "INNER" #826
Comments
@wumpz would you please take a look ? |
This syntax update table1 join table2 ... set ... is not (yet) supported. PRs are welcome. |
At the moment there are no plans to support this. Or is this an urgent request? |
@wumpz it's urgent to me. i have tried SQL parser in Alibaba druid library, it supports table join, |
I will look into it. |
Sorry, it took a while. Now I am on it. |
Could you check it? I changed the version to 3.0-SNAPSHOT due to API changes introduced by the solution of your request. |
@wumpz could you please kindly share why getTables() is removed and replaced with getTable(), seems like roll back to the version before 5/25/2014 commit. Thank you!! |
@mantou16 this was indeed an API change. So maybe this had to be in version 4. Sorry about that. The cause was #826. Now JSqlParser supports not only multiple tables, but joins at the start. (01296c3#diff-609c7e6ed30a0309ddb39397703f93f1) So to get what you want is now a combination of getTable + getStartJoins. |
@mantou16 as you see here:
the test for multi table list is still intact. |
got it! thank you so much!!! |
sql:
Expected Behavior
the sql runs well on MariaDB-server-10.1.40-1.el7.centos.x86_64, i expect jsqlparser parses it also well
Actual Behavior
Specifications
@wumpz
The text was updated successfully, but these errors were encountered: