-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
I use it to analyze clickhouse sql,But there is a problem,Can you show me #1535
Comments
Greetings! |
Thank you for your reply. Can you give me an idea to modify it? It helped me a lot |
|
Thank you. I'll try when I have time |
manticore-projects
added a commit
to manticore-projects/JSqlParser
that referenced
this issue
Nov 28, 2022
All credits to @julianzlzhang fixes JSQLParser#1615 fixes JSQLParser#1535
Merged
wumpz
pushed a commit
that referenced
this issue
Dec 22, 2022
* support clickhouse global keyword in join * fix: add missing public Getter Add public Getter for `updateSets` Fixes #1630 * feat: Clickhouse GLOBAL JOIN All credits to @julianzlzhang fixes #1615 fixes #1535 * feat: IF/ELSE statements supports Block Make `If... Else...` statements work with Blocks Make `Statement()` production work with `Block()` Rewrite the `Block()` related Unit Tests fixes #1682 * fix: Revert unintended changes to the Special Oracle Tests * fix: `SET` statement supports `UserVariable` Make `SetStatement` parse Objects instead of Names only Add Grammar to accept `UserVariable` (e.g. "set @Flag = 1") Add Test Case for `UserVariable` fixes #1682 * feat: Google Spanner Support Replaces PR #1415, all credit goes to @s13o Re-arranged some recently added Tokens in alphabetical order Update Keywords * fix: fix JSonExpression, accept Expressions Make JSonExpression accept Expressions Add Testcase Expose Idents() and Operators() Fixes #1696 * test: add Test for Issue #1237 Co-authored-by: Zhang Zhongliang <zhangzhongliang@xiaomi.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
select
b.name,
a.pay_amount,
a.partner_team_id
from
order_pay a
GLOBAL join team b on a.partner_team_id = b.id
error
net.sf.jsqlparser.JSQLParserException: Encountered unexpected token: "GLOBAL" "GLOBAL"
at line 1, column 73.
Was expecting one of:
Because Clickhouse distributed tables need to use global join syntax
version:jsqlparser 4.0
jdk:1.8
The text was updated successfully, but these errors were encountered: