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

Predicate on COALESCE(r.x, l.y) after LOJ can be pushed to r #22672

Open
kaikalur opened this issue May 5, 2024 · 0 comments
Open

Predicate on COALESCE(r.x, l.y) after LOJ can be pushed to r #22672

kaikalur opened this issue May 5, 2024 · 0 comments

Comments

@kaikalur
Copy link
Contributor

kaikalur commented May 5, 2024

I see queries like:

SELECT .. FROM T1 LOJ T2 ON T1.k = T2.k
WHERE COALESCE(T2.x, T1.y) IN (1,2,3)

Here we can pushdown T2.x IN (1,2,3) to T2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 Unprioritized
Development

No branches or pull requests

1 participant