-
Notifications
You must be signed in to change notification settings - Fork 26
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
Subquery Unnesting: Exists + In Support #259
Conversation
jurplel
commented
Dec 7, 2024
•
edited
Loading
edited
- Support uncorrelated/correlated IN (ANY) and EXISTS clauses (This should effectively make subquery unnesting feature complete!)
- TPC-H Q4, Q16, Q20, and Q22 working
- The remaining queries mostly seem to have plans that are too bad (Q18 has some other issue, fix in the pipeline but it still seems like the plan is too slow).
…ould work with OR
// TODO: Check that field is of bool type | ||
0.5 // TODO: placeholder---how can we get the selectivity? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be addressed
// TODO: Check that field is of bool type | ||
0.5 // TODO: placeholder---how can we get the selectivity? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
@@ -198,6 +198,8 @@ impl< | |||
); | |||
join_filter_selectivity | |||
} | |||
// TODO: Does this make sense? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you also please enable the newly-supported TPC-H queries in sqlplannertest? thanks :)
#259 added new yml test cases instead of renaming the `.disabled` ones, removing them now. Signed-off-by: Yuchen Liang <yuchenl3@andrew.cmu.edu>