Skip to content
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

support clickhouse global keyword in join #1615

Closed

Conversation

julianzlzhang
Copy link

Support GLOBAL keyword for JOIN in ClickHouse.

@manticore-projects
Copy link
Contributor

Looks good to me, please approve.

@wumpz
Copy link
Member

wumpz commented Aug 31, 2022

JSqlParser enforces some coding rules you are violating in your PR. A complete maven build does not succeed in your branch. Please correct that.

Error:  src/main/java/net/sf/jsqlparser/statement/select/Join.java:[311,9] (whitespace) WhitespaceAfter: 'if' is not followed by whitespace.
Error:  src/main/java/net/sf/jsqlparser/util/deparser/SelectDeParser.java:[402,9] (whitespace) WhitespaceAfter: 'if' is not followed by whitespace.

@nettm
Copy link

nettm commented Nov 21, 2022

When will this problem be solved?

@wumpz
Copy link
Member

wumpz commented Nov 27, 2022

@julianzlzhang When do you solve your PRs problems? Look into failing checkstyle verification.

manticore-projects added a commit to manticore-projects/JSqlParser that referenced this pull request Nov 28, 2022
@manticore-projects
Copy link
Contributor

I have salvaged this PR into #1676

wumpz pushed a commit that referenced this pull request 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants