forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SQL] Code Cleanup: Left Semi Hash Join
Some improvement for PR apache#837, add another case to white list and use `filter` to build result iterator. Author: Daoyuan <daoyuan.wang@intel.com> Closes apache#1049 from adrian-wang/clean-LeftSemiJoinHash and squashes the following commits: b314d5a [Daoyuan] change hashSet name 27579a9 [Daoyuan] add semijoin to white list and use filter to create new iterator in LeftSemiJoinBNL Signed-off-by: Michael Armbrust <michael@databricks.com>
- Loading branch information
1 parent
ce0886f
commit e991148
Showing
52 changed files
with
374 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
11 changes: 11 additions & 0 deletions
11
sql/hive/src/test/resources/golden/semijoin-1-e7c99e1f46d502edbb0925d75aab5f0c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
0 val_0 | ||
0 val_0 | ||
0 val_0 | ||
2 val_2 | ||
4 val_4 | ||
5 val_5 | ||
5 val_5 | ||
5 val_5 | ||
8 val_8 | ||
9 val_9 | ||
10 val_10 |
Empty file.
8 changes: 8 additions & 0 deletions
8
sql/hive/src/test/resources/golden/semijoin-11-246a40dcafe077f02397e30d227c330
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
0 val_0 | ||
0 val_0 | ||
0 val_0 | ||
4 val_2 | ||
8 val_4 | ||
10 val_5 | ||
10 val_5 | ||
10 val_5 |
Empty file.
Empty file.
Empty file.
11 changes: 11 additions & 0 deletions
11
sql/hive/src/test/resources/golden/semijoin-15-1de6eb3f357bd1c4d02ab4d19d43589
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
val_0 | ||
val_0 | ||
val_0 | ||
val_10 | ||
val_2 | ||
val_4 | ||
val_5 | ||
val_5 | ||
val_5 | ||
val_8 | ||
val_9 |
Empty file.
3 changes: 3 additions & 0 deletions
3
sql/hive/src/test/resources/golden/semijoin-17-f0f8720cfd11fd71af17b310dc2d1019
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
0 val_0 | ||
0 val_0 | ||
0 val_0 |
Empty file.
3 changes: 3 additions & 0 deletions
3
sql/hive/src/test/resources/golden/semijoin-19-b1f1c7f701abe81c01e72fb98f0bd13f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
val_10 | ||
val_8 | ||
val_9 |
Empty file.
Empty file.
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions
5
sql/hive/src/test/resources/golden/semijoin-23-ed730ccdf552c07e7a82ba6b7fd3fbda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
4 val_2 | ||
8 val_4 | ||
10 val_5 | ||
10 val_5 | ||
10 val_5 |
Empty file.
19 changes: 19 additions & 0 deletions
19
sql/hive/src/test/resources/golden/semijoin-25-be2bd011cc80b480b271a08dbf381e9b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
2 | ||
4 | ||
4 | ||
5 | ||
5 | ||
5 | ||
8 | ||
8 | ||
9 | ||
10 | ||
10 | ||
10 | ||
10 |
Empty file.
4 changes: 4 additions & 0 deletions
4
sql/hive/src/test/resources/golden/semijoin-27-391c256254d171973f02e7f33672ce1d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
0 val_0 | ||
0 val_0 | ||
0 val_0 | ||
8 val_8 |
Empty file.
14 changes: 14 additions & 0 deletions
14
sql/hive/src/test/resources/golden/semijoin-29-9efeef3d3c38e22a74d379978178c4f5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
0 val_0 0 val_0 | ||
0 val_0 0 val_0 | ||
0 val_0 0 val_0 | ||
0 val_0 0 val_0 | ||
0 val_0 0 val_0 | ||
0 val_0 0 val_0 | ||
0 val_0 0 val_0 | ||
0 val_0 0 val_0 | ||
0 val_0 0 val_0 | ||
4 val_4 4 val_2 | ||
8 val_8 8 val_4 | ||
10 val_10 10 val_5 | ||
10 val_10 10 val_5 | ||
10 val_10 10 val_5 |
11 changes: 11 additions & 0 deletions
11
sql/hive/src/test/resources/golden/semijoin-3-b4d4317dd3a10e18502f20f5c5250389
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
0 val_0 | ||
0 val_0 | ||
0 val_0 | ||
4 val_2 | ||
8 val_4 | ||
10 val_5 | ||
10 val_5 | ||
10 val_5 | ||
16 val_8 | ||
18 val_9 | ||
20 val_10 |
Empty file.
14 changes: 14 additions & 0 deletions
14
sql/hive/src/test/resources/golden/semijoin-31-e5dc4d8185e63e984aa4e3a2e08bd67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
0 val_0 | ||
0 val_0 | ||
0 val_0 | ||
0 val_0 | ||
0 val_0 | ||
0 val_0 | ||
2 val_2 | ||
4 val_4 | ||
5 val_5 | ||
5 val_5 | ||
5 val_5 | ||
8 val_8 | ||
9 val_9 | ||
10 val_10 |
Empty file.
14 changes: 14 additions & 0 deletions
14
sql/hive/src/test/resources/golden/semijoin-33-ed499f94c6e6ac847ef5187b3b43bbc5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
4 | ||
4 | ||
8 | ||
8 | ||
10 | ||
10 | ||
10 | ||
10 |
Empty file.
26 changes: 26 additions & 0 deletions
26
sql/hive/src/test/resources/golden/semijoin-35-8d5731f26232f6e26dd8012461b08d99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
4 | ||
4 | ||
8 | ||
8 | ||
10 | ||
10 | ||
10 | ||
10 |
Empty file.
29 changes: 29 additions & 0 deletions
29
sql/hive/src/test/resources/golden/semijoin-37-a15b9074f999ce836be5329591b968d0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
NULL | ||
NULL | ||
NULL | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
4 | ||
4 | ||
8 | ||
8 | ||
10 | ||
10 | ||
10 | ||
10 |
Empty file.
29 changes: 29 additions & 0 deletions
29
sql/hive/src/test/resources/golden/semijoin-39-c22a6f11368affcb80a9c80e653a47a8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
NULL | ||
NULL | ||
NULL | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
4 | ||
4 | ||
8 | ||
8 | ||
10 | ||
10 | ||
10 | ||
10 |
Empty file.
Empty file.
29 changes: 29 additions & 0 deletions
29
sql/hive/src/test/resources/golden/semijoin-41-cf74f73a33b1af8902b7970a9350b092
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
4 | ||
4 | ||
8 | ||
8 | ||
10 | ||
10 | ||
10 | ||
10 | ||
16 | ||
18 | ||
20 |
Empty file.
31 changes: 31 additions & 0 deletions
31
sql/hive/src/test/resources/golden/semijoin-43-e8a166ac2e94bf8d1da0fe91b0db2c81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
NULL | ||
NULL | ||
NULL | ||
NULL | ||
NULL | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
4 | ||
4 | ||
8 | ||
8 | ||
10 | ||
10 | ||
10 | ||
10 |
Empty file.
42 changes: 42 additions & 0 deletions
42
sql/hive/src/test/resources/golden/semijoin-45-3fd94ffd4f1eb6cf83dcc064599bf12b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
NULL | ||
NULL | ||
NULL | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
0 | ||
2 | ||
4 | ||
4 | ||
5 | ||
5 | ||
5 | ||
8 | ||
8 | ||
9 | ||
10 | ||
10 | ||
10 | ||
10 | ||
10 | ||
10 | ||
10 | ||
10 | ||
10 | ||
10 | ||
10 | ||
10 |
Empty file.
Oops, something went wrong.