-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a more concise and human readable format.
- Loading branch information
1 parent
9b360da
commit a1e1b57
Showing
3 changed files
with
95 additions
and
77 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
sql/core/src/test/resources/sql-tests/results/number-format.sql.out
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,50 @@ | ||
-- Automatically generated by org.apache.spark.sql.SQLQueryTestSuite | ||
-- Number of queries: 4 | ||
|
||
|
||
-- !query 0 | ||
select 1, -1 | ||
-- !query 0 schema | ||
int, int | ||
-- !query 0 output | ||
+---+----+ | ||
| 1|(-1)| | ||
+---+----+ | ||
| 1| -1| | ||
+---+----+ | ||
|
||
|
||
-- !query 1 | ||
select 2147483648, -2147483649 | ||
-- !query 1 schema | ||
bigint, bigint | ||
-- !query 1 output | ||
+----------+-------------+ | ||
|2147483648|(-2147483649)| | ||
+----------+-------------+ | ||
|2147483648| -2147483649| | ||
+----------+-------------+ | ||
|
||
|
||
-- !query 2 | ||
select 9223372036854775808, -9223372036854775809 | ||
-- !query 2 schema | ||
decimal(19,0), decimal(19,0) | ||
-- !query 2 output | ||
+-------------------+----------------------+ | ||
|9223372036854775808|(-9223372036854775809)| | ||
+-------------------+----------------------+ | ||
|9223372036854775808| -9223372036854775809| | ||
+-------------------+----------------------+ | ||
|
||
|
||
-- !query 3 | ||
select 0.3, -0.8, .5, -.18 | ||
-- !query 3 schema | ||
decimal(1,1), decimal(1,1), decimal(1,1), decimal(2,2) | ||
-- !query 3 output | ||
+---+------+---+-------+ | ||
|0.3|(-0.8)|0.5|(-0.18)| | ||
+---+------+---+-------+ | ||
|0.3| -0.8|0.5| -0.18| | ||
+---+------+---+-------+ |
49 changes: 0 additions & 49 deletions
49
sql/core/src/test/resources/sql-tests/results/number-format.sql.xml
This file was deleted.
Oops, something went wrong.
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