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: convert in list to subquery #13399

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

xudong963
Copy link
Member

@xudong963 xudong963 commented Oct 23, 2023

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

If inlist's values are large, inlist will be inefficient, we can convert it to subquery, and the subquery will be converted to join.


This change is Reviewable

@vercel
Copy link

vercel bot commented Oct 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
databend ⬜️ Ignored (Inspect) Visit Preview Oct 23, 2023 1:18pm

@xudong963 xudong963 marked this pull request as draft October 23, 2023 10:23
@github-actions github-actions bot added the pr-feature this PR introduces a new feature to the codebase label Oct 23, 2023
@xudong963 xudong963 marked this pull request as ready for review October 23, 2023 11:34
@xudong963 xudong963 requested review from Dousir9 and leiysky October 23, 2023 11:34
@BohuTANG BohuTANG merged commit 2742b86 into databendlabs:main Oct 23, 2023
59 checks passed
@xudong963 xudong963 deleted the optimize_in_list branch October 23, 2023 15:36
andylokandy pushed a commit to andylokandy/databend that referenced this pull request Nov 27, 2023
* feat: convert in list to subquery

* remove setting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: optimize Inlist to semi join
3 participants