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

Enhance optimization of rule to convert outerjoin to antijoin #75

Open
jiangzhe opened this issue Mar 4, 2022 · 0 comments
Open

Enhance optimization of rule to convert outerjoin to antijoin #75

jiangzhe opened this issue Mar 4, 2022 · 0 comments
Labels
feature New feature or request

Comments

@jiangzhe
Copy link
Owner

jiangzhe commented Mar 4, 2022

SELECT c1 FROM t1
LEFT JOIN t2
ON t1.c1 = t2.c2
WHERE t2.c2 IS NULL

Above SQL uses LeftJoin to achieve the AntiJoin Semantics.
We remove the WHERE clause and convert it to AntiJoin.

@jiangzhe jiangzhe added the feature New feature or request label Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant