Skip to content

Conversation

@AngersZhuuuu
Copy link
Contributor

What changes were proposed in this pull request?

BHJ LeftAnti update numOutputRows missing case for hashed = EmptyHashedRelation

image

Why are the changes needed?

Fix missing sql metrics for BHJ

Does this PR introduce any user-facing change?

Yes, BHJ LeftAnti will update numOutputRows when hashed = EmptyHashedRelation

How was this patch tested?

Existed UT

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the SQL label Nov 12, 2025
@AngersZhuuuu
Copy link
Contributor Author

@cloud-fan

@AngersZhuuuu
Copy link
Contributor Author

ping @cloud-fan @dongjoon-hyun @HyukjinKwon Could you take a review

@cloud-fan
Copy link
Contributor

thanks, merging to master/4.1!

@cloud-fan cloud-fan closed this in 3757091 Nov 17, 2025
cloud-fan pushed a commit that referenced this pull request Nov 17, 2025
…en is disabled

### What changes were proposed in this pull request?

BHJ LeftAnti update numOutputRows missing case for hashed = EmptyHashedRelation

<img width="1754" height="1148" alt="image" src="https://github.com/user-attachments/assets/a71e4546-578e-4e4d-9434-9287074ebe75" />

### Why are the changes needed?
Fix missing sql metrics for BHJ

### Does this PR introduce _any_ user-facing change?
Yes, BHJ LeftAnti will update numOutputRows when hashed = EmptyHashedRelation

### How was this patch tested?
Existed UT

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #53014 from AngersZhuuuu/SPARK-54319.

Authored-by: Angerszhuuuu <angers.zhu@gmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 3757091)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
@dongjoon-hyun
Copy link
Member

Thank you, @AngersZhuuuu and @cloud-fan .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants