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

feat:support clickhouse global keyword in IN Expression #1794

Merged

Conversation

herbert2008
Copy link
Contributor

  • Add support for clickhouse global keyword in IN Expression

  • example:

SELECT lo_linenumber,lo_orderkey from lo_linenumber where lo_linenumber global in (1,2,3)

Add support for clickhouse global keyword in IN Expression
example:
SELECT lo_linenumber,lo_orderkey from lo_linenumber where lo_linenumber global in (1,2,3)
@manticore-projects
Copy link
Contributor

Please sync against latest development branch and resolve conflicts.
Thank you.

@manticore-projects
Copy link
Contributor

Any feedback please? I would like top close this otherwise.

@wjxfhxy
Copy link

wjxfhxy commented Sep 11, 2023

Have this feature been merged into version 4. 7? Or is it planned to be added in which version?

@manticore-projects manticore-projects merged commit ced0d00 into JSQLParser:master Sep 12, 2023
@manticore-projects
Copy link
Contributor

@wjxfhxy
Copy link

wjxfhxy commented Sep 13, 2023

SELECT datetime FROM tableA where anonymousid global in ( select distinct anonymousid from tableB)

I use this SQL to do testing and no error is reported

@manticore-projects
Copy link
Contributor

Greetings.

Your statement parses without any problem and you can try it online here.

Although you will need to take the latest JSQLParser Snapshot from http://manticore-projects.com/download/jsqlparser-4.7/JSQLParser-4.8-SNAPSHOT.jar

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.

3 participants