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

Support semi/anti_semi join that uses left table to build hash table #7280

Closed
yibin87 opened this issue Apr 12, 2023 · 0 comments · Fixed by #7267
Closed

Support semi/anti_semi join that uses left table to build hash table #7280

yibin87 opened this issue Apr 12, 2023 · 0 comments · Fixed by #7267
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@yibin87
Copy link
Contributor

yibin87 commented Apr 12, 2023

Enhancement

Since left table could be the one with smaller size, so choose left table as hash table would improve the performance.
The whole join process would be:

  1. Use left table to build hash table
  2. Lookup hash table to find potential matched rows, and flag the matched entry if no other conditions
  3. Filter potential matched rows if there are other conditions
  4. Scan hash table and outputs

The same tech could be applied for right outer join with other conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant