-
Notifications
You must be signed in to change notification settings - Fork 2k
fix: Track metrics in hash joins with empty build sides #20810
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -655,10 +655,10 @@ impl HashJoinStream { | |
| self.join_type, | ||
| )?; | ||
| timer.done(); | ||
|
|
||
| self.output_buffer.push_batch(result)?; | ||
| self.state = HashJoinStreamState::FetchProbeBatch; | ||
|
|
||
| return Ok(StatefulStreamResult::Ready(Some(result))); | ||
| return Ok(StatefulStreamResult::Continue); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can slowly transition everything to slowly not need to variants of
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Dandandan We can replicate the pattern you added with |
||
| } | ||
|
|
||
| // get the matched by join keys indices | ||
|
|
||
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.
Not related to this PR, but I noticed we don’t need to explicitly end the timer here since it’s an RAII variable. I’ll open a separate PR after this is merged.