Skip to content

Conversation

max-hoffman
Copy link
Contributor

@max-hoffman max-hoffman commented Jun 20, 2023

This enables recursive subquery decorrelations, and adds a hash join execution option for semi joins that is equivalent to cached subquery existence checks.

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -481,6 +481,31 @@ select * from xy where x in (
types: []plan.JoinType{plan.JoinTypeHash, plan.JoinTypeHash},
exp: []sql.Row{{1, 0}},
},
{
q: `
SELECT *
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is like an e e cummings poem

@max-hoffman max-hoffman merged commit e2b38d0 into main Jun 26, 2023
@max-hoffman max-hoffman deleted the max/slow-degenerate-semi-join branch June 26, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants