Skip to content

Commit

Permalink
ut
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Feb 5, 2020
1 parent 0534eb6 commit ccad7e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ SELECT smallint(float('32767.6'));
SELECT smallint(float('-32768.4'));
SELECT smallint(float('-32768.6'));
SELECT int(float('2147483520'));
SELECT int(float('2147483392'));
SELECT int(float('-2147483648.5'));
SELECT int(float('-2147483900'));
SELECT bigint(float('9223369837831520256'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,14 @@ struct<CAST(CAST(2147483520 AS FLOAT) AS INT):int>
2147483520


-- !query
SELECT int(float('2147483392'))
-- !query schema
struct<CAST(CAST(2147483392 AS FLOAT) AS INT):int>
-- !query output
2147483392


-- !query
SELECT int(float('-2147483648.5'))
-- !query schema
Expand Down

0 comments on commit ccad7e6

Please sign in to comment.