Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make multiple tests failed
  • Loading branch information
HyukjinKwon committed Aug 30, 2019
commit 28e7f2fc326270b63e9d15c1f366f96742f7e282
2 changes: 1 addition & 1 deletion sql/core/src/test/resources/sql-tests/results/cast.sql.out
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ SELECT CAST('1234567890123' AS int)
-- !query 6 schema
struct<CAST(1234567890123 AS INT):int>
-- !query 6 output
NULL
NULL1


-- !query 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Type MANAGED
Provider parquet
Comment modified comment
Table Properties [type=parquet]
Location [not included in comparison]sql/core/spark-warehouse/table_with_comment
Location [not included in comparison]sql/core/spark-warehouse/table_with_comment1


-- !query 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SELECT avg(four) AS avg_1 FROM onek
-- !query 0 schema
struct<avg_1:double>
-- !query 0 output
1.5
1.51


-- !query 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ select max(min(unique1)) from tenk1
struct<>
-- !query 0 output
org.apache.spark.sql.AnalysisException
It is not allowed to use an aggregate function in the argument of another aggregate function. Please use the inner aggregate function in a sub-query.;
It is not allowed to use an aggregate function 1in the argument of another aggregate function. Please use the inner aggregate function in a sub-query.;


-- !query 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SELECT true AS true
-- !query 1 schema
struct<true:boolean>
-- !query 1 output
true
true1


-- !query 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ struct<Fifteen:date>
2000-04-01
2000-04-02
2000-04-03
2038-04-08
2038-04-081
2039-04-09
2040-04-10

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ SELECT * FROM (SELECT 1 AS a, 1 AS b) t(col1, col2)
-- !query 7 schema
struct<col1:int,col2:int>
-- !query 7 output
1 1
1 11


-- !query 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ SELECT udf(udf(sum(b))) AS avg_431_773 FROM aggtest
-- !query 5 schema
struct<avg_431_773:double>
-- !query 5 output
431.77260909229517
431.7726090922951711


-- !query 6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ SELECT * FROM nt1 cross join nt2 where udf(nt1.k) = udf(nt2.k)
struct<k:string,v1:int,k:string,v2:int>
-- !query 3 output
one 1 one 1
one 1 one 5
one 1 one 51
two 2 two 22


Expand Down