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.
Update Hive query tests and golden files to 0.13
- Loading branch information
Showing
8,142 changed files
with
37,869 additions
and
47,158 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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,15 @@ | ||
+-----+-------+ | ||
| id | name | | ||
+-----+-------+ | ||
| 1 | aaa | | ||
| 2 | bbb | | ||
| 3 | ccc | | ||
| 4 | ddd | | ||
| 5 | eee | | ||
+-----+-------+ | ||
+-------+-----+ | ||
| name | id | | ||
+-------+-----+ | ||
| aaa | 1 | | ||
| bbb | 2 | | ||
+-------+-----+ |
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,2 @@ | ||
true|10|100|1000|10000|4.0|20.0|2.2222|1969-12-31 15:59:58.174|1970-01-01 00:00:00|hello|hello|k1:v1,k2:v2|100,200|{10, "foo"} | ||
true|20|200|2000|20000|8.0|40.0|4.2222|1970-12-31 15:59:58.174|1971-01-01 00:00:00|||k3:v3,k4:v4|200,300|{20, "bar"} |
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,2 @@ | ||
true|10|100|1000|10000|4.0|20.0|4.2222|1969-12-31 15:59:58.174|1970-01-01|string|hello|hello|k1:v1,k2:v2|100,200|{10, "foo"} | ||
false|20|200|2000|20000|8.0|40.0|2.2222|1970-12-31 15:59:58.174|1971-01-01|abcd|world|world|k3:v3,k4:v4|200,300|{20, "bar"} |
Binary file not shown.
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 @@ | ||
47.3224 2923.29346 |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N | ||
-1false-1.1\N\N\N-1-1-1.0-1\N\N\N\N\N\N\N | ||
1true1.11121x2ykva92.2111.01abcd1111213142212212x1abcd22012-04-22 09:00:00.123456789123456789.0123456YWJjZA==2013-01-01abc123 | ||
\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N\N | ||
-1false-1.1\N\N\N-1-1-1.0-1\N\N\N\N\N\N\N\N | ||
1true1.11121x2ykva92.2111.01abcd1111213142212212x1abcd22012-04-22 09:00:00.123456789123456789.0123456YWJjZA==2013-01-01abc123abc123X'01FF' |
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,18 @@ | ||
55.33 | ||
44.2 | ||
435.33 | ||
324.33 | ||
324.33 | ||
44.2 | ||
55.3 | ||
55.3 | ||
0.0 | ||
|
||
66.4 | ||
23.22 | ||
-87.2 | ||
|
||
33.44 | ||
55.3 | ||
435.331 | ||
-0.342 |
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 @@ | ||
31|sales | ||
33|engineering | ||
34|clerical | ||
35|marketing |
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,6 @@ | ||
Rafferty|31 | ||
Jones|33 | ||
Steinberg|33 | ||
Robinson|34 | ||
Smith|34 | ||
John| |
1 change: 1 addition & 0 deletions
1
sql/hive/src/test/resources/data/files/exported_table/_metadata
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 @@ | ||
{"partitions":[],"table":"{\"1\":{\"str\":\"j1_41\"},\"2\":{\"str\":\"default\"},\"3\":{\"str\":\"johndee\"},\"4\":{\"i32\":1371900915},\"5\":{\"i32\":0},\"6\":{\"i32\":0},\"7\":{\"rec\":{\"1\":{\"lst\":[\"rec\",2,{\"1\":{\"str\":\"a\"},\"2\":{\"str\":\"string\"}},{\"1\":{\"str\":\"b\"},\"2\":{\"str\":\"int\"}}]},\"2\":{\"str\":\"hdfs://hivebase01:8020/user/hive/warehouse/j1_41\"},\"3\":{\"str\":\"org.apache.hadoop.mapred.TextInputFormat\"},\"4\":{\"str\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\"},\"5\":{\"tf\":0},\"6\":{\"i32\":-1},\"7\":{\"rec\":{\"2\":{\"str\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\"},\"3\":{\"map\":[\"str\",\"str\",2,{\"serialization.format\":\",\",\"field.delim\":\",\"}]}}},\"8\":{\"lst\":[\"str\",0]},\"9\":{\"lst\":[\"rec\",0]},\"10\":{\"map\":[\"str\",\"str\",0,{}]}}},\"8\":{\"lst\":[\"rec\",0]},\"9\":{\"map\":[\"str\",\"str\",1,{\"transient_lastDdlTime\":\"1371900931\"}]},\"12\":{\"str\":\"MANAGED_TABLE\"}}","version":"0.1"} |
2 changes: 2 additions & 0 deletions
2
sql/hive/src/test/resources/data/files/exported_table/data/data
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,2 @@ | ||
johndee,1 | ||
burks,2 |
3 changes: 3 additions & 0 deletions
3
sql/hive/src/test/resources/data/files/ext_test_space/folder+with space/data.txt
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 @@ | ||
12 jason | ||
13 steven | ||
15 joe |
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
sql/hive/src/test/resources/data/files/header_footer_table_1/0001.txt
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 @@ | ||
name message 0 | ||
steven hive 1 | ||
dave oozie 2 | ||
xifa phd 3 | ||
chuan hadoop 4 | ||
shanyu senior 5 | ||
footer1 footer1 0 | ||
footer2 0 |
8 changes: 8 additions & 0 deletions
8
sql/hive/src/test/resources/data/files/header_footer_table_1/0002.txt
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 @@ | ||
name message 0 | ||
steven2 hive 11 | ||
dave2 oozie 12 | ||
xifa2 phd 13 | ||
chuan2 hadoop 14 | ||
shanyu2 senior 15 | ||
footer1 footer1 0 | ||
footer2 0 |
4 changes: 4 additions & 0 deletions
4
sql/hive/src/test/resources/data/files/header_footer_table_1/0003.txt
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 @@ | ||
name message 0 | ||
david3 oozie 22 | ||
footer1 footer1 0 | ||
footer2 0 |
8 changes: 8 additions & 0 deletions
8
sql/hive/src/test/resources/data/files/header_footer_table_2/2012/01/01/0001.txt
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 @@ | ||
name message 0 | ||
steven hive 1 | ||
dave oozie 2 | ||
xifa phd 3 | ||
chuan hadoop 4 | ||
shanyu senior 5 | ||
footer1 footer1 0 | ||
footer2 0 |
8 changes: 8 additions & 0 deletions
8
sql/hive/src/test/resources/data/files/header_footer_table_2/2012/01/02/0002.txt
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 @@ | ||
name message 0 | ||
steven2 hive 11 | ||
dave2 oozie 12 | ||
xifa2 phd 13 | ||
chuan2 hadoop 14 | ||
shanyu2 senior 15 | ||
footer1 footer1 0 | ||
footer2 0 |
4 changes: 4 additions & 0 deletions
4
sql/hive/src/test/resources/data/files/header_footer_table_2/2012/01/03/0003.txt
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 @@ | ||
name message 0 | ||
david3 oozie 22 | ||
footer1 footer1 0 | ||
footer2 0 |
File renamed without changes.
File renamed without changes.
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,7 @@ | ||
a b c d e f g | ||
a b c d e f g | ||
a b c d e f g | ||
d e f g | ||
a b c d | ||
a e f g | ||
a d g |
Binary file not shown.
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,27 @@ | ||
-4400 4400 | ||
1E+99 0 | ||
1E-99 0 | ||
0 0 | ||
10 10 | ||
23232.23435 2 | ||
2389432.23752 3 | ||
2389432.2375 4 | ||
10.73433 5 | ||
0.333 0 | ||
-0.3 0 | ||
-0.333 0 | ||
1.0 1 | ||
2 2 | ||
3.14 3 | ||
-1.12 -1 | ||
-1.122 -11 | ||
1.12 1 | ||
1.122 1 | ||
124.00 124 | ||
125.2 125 | ||
-1255.49 -1255 | ||
3.14 3 | ||
3.140 4 | ||
0.9999999999999999999999999 1 | ||
-1234567890.1234567890 -1234567890 | ||
1234567890.1234567800 1234567890 |
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 @@ | ||
OH|31|43201|2001 | ||
IO|32|43202|2001 | ||
CA|35|43809|2001 | ||
FL|33|54342|2001 | ||
UT|35||2001 | ||
CA|35|43809|2001 | ||
|34|40000| | ||
FL|33|54342|2001 |
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 @@ | ||
1|Garçu Kôkaku kidôtai |
Oops, something went wrong.