Skip to content

Conversation

@max-hoffman
Copy link
Contributor

@max-hoffman max-hoffman commented Mar 19, 2025

Previously assumed HASH_JOIN would load whole right table into memory. This overestimates the cost, we only read and cache the indexed fraction.

perf benchmarks: dolthub/dolt#9007

Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

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

Looks good. The comment on line 97 looks out of date now based on the PR description.

@max-hoffman max-hoffman merged commit e787f4e into main Mar 20, 2025
6 of 8 checks passed
@max-hoffman max-hoffman deleted the max/hash-joins-left-cost-bug branch March 20, 2025 00:22
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.

3 participants