The Wayback Machine - https://web.archive.org/web/20201011182951/https://github.com/JSQLParser/JSqlParser/pull/360
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 for postgres overlap operator && added, natural left/right/fu… #360

Open
wants to merge 2 commits into
base: master
from

Conversation

@MathewJoseph31
Copy link

@MathewJoseph31 MathewJoseph31 commented Nov 22, 2016

Here are the changes that are currently made

i) DoubleAnd/Overrlap operator (&&) - supported by latest DB versions, eg. postgres
overlap takes two arrays as its operands and returns true iff they have elements in common.

list of files changed
src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
src/main/java/net/sf/jsqlparser/util/deparser/ExpressionDeParser.java
src/main/java/net/sf/jsqlparser/expression/ExpressionVisitor.java
src/main/java/net/sf/jsqlparser/expression/ExpressionVisitorAdapter.java
src/main/java/net/sf/jsqlparser/util/TablesNamesFinder.java
src/test/java/net/sf/jsqlparser/test/select/SelectTest.java

src/main/java/net/sf/jsqlparser/expression/operators/relational/DoubleAnd.java (new java file)

ii) NATURAL LEFT/RIGHT/FULL OUTER JOIN - Currently the parser supports only the inner one, NATURAL JOIN

@MathewJoseph31
Copy link
Author

@MathewJoseph31 MathewJoseph31 commented Nov 22, 2016

i) Contains (>&) and ContainedBy (&<) - supported by latest DB versions, eg. postgres
Contains (resp. ContainedBy) takes two arrays A and B as its operands and returns true iff A contains (resp. is contained by) B.

@wumpz
Copy link
Member

@wumpz wumpz commented Apr 17, 2017

Could you acutualize your pull request to the actual master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.