Commit 3757091
[SPARK-54319][SQL] BHJ LeftAnti update numOutputRows wrong when codegen 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 <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>1 parent 96e0d4b commit 3757091
File tree
2 files changed
+21
-7
lines changed- sql/core/src
- main/scala/org/apache/spark/sql/execution/joins
- test/scala/org/apache/spark/sql/execution/metric
2 files changed
+21
-7
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
| |||
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | | - | |
919 | | - | |
920 | | - | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
921 | 921 | | |
922 | | - | |
| 922 | + | |
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
926 | | - | |
927 | | - | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
928 | 939 | | |
929 | 940 | | |
930 | 941 | | |
| |||
0 commit comments