The Wayback Machine - https://web.archive.org/web/20201011183056/https://github.com/JSQLParser/JSqlParser/pull/1041
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

Add lateral sub select join type "(+)" #1041

Open
wants to merge 3 commits into
base: master
from

Conversation

@evan-choi
Copy link

@evan-choi evan-choi commented Sep 8, 2020

SELECT
    T1.d,
    LV.c
FROM
    T1,
    LATERAL (SELECT T2.C FROM T2 WHERE T1.x = T2.x AND T2.k = 5)(+) LV;

The lateral view in query is merged to yield query. Like this

SELECT
    T1.d,
    T2.c
FROM
    T1,
    T2
WHERE
    T1.x = T2.x(+) AND T2.k(+) = 5;

But, JSqlParser did not support this syntax. So I added.

@evan-choi evan-choi changed the title Add old oracle join type to lateral sub select Add lateral sub select join type "(+)" Sep 8, 2020
@coveralls
Copy link

@coveralls coveralls commented Sep 8, 2020

Coverage Status

Coverage decreased (-0.09%) to 86.517% when pulling 289f9b1 on evan-choi:oracle-lateral-join into abedce5 on JSQLParser: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.