Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/14598#discussion_r74506995 --- Diff: sql/core/src/test/resources/sql-tests/results/literals.sql.out --- @@ -0,0 +1,148 @@ +-- Automatically generated by SQLQueryTestSuite +-- Number of queries: 16 + + +-- !query 0 +select null +-- !query 0 schema +struct<NULL:null> +-- !query 0 output +NULL + + +-- !query 1 +select true, false +-- !query 1 schema +struct<true:boolean,false:boolean> +-- !query 1 output +true false + + +-- !query 2 +select 1Y, 127Y, -127Y +-- !query 2 schema +struct<1:tinyint,127:tinyint,(-127):tinyint> +-- !query 2 output +1 127 -127 + + +-- !query 3 +select 128Y +-- !query 3 schema +struct<> +-- !query 3 output +org.apache.spark.sql.catalyst.parser.ParseException + +Value out of range. Value:"128" Radix:10(line 1, pos 7) + +== SQL == +select 128Y +-------^^^ + + +-- !query 4 +select 1S, 32767S, -32767S +-- !query 4 schema +struct<1:smallint,32767:smallint,(-32767):smallint> +-- !query 4 output +1 32767 -32767 + + +-- !query 5 +select 32768S +-- !query 5 schema +struct<> +-- !query 5 output +org.apache.spark.sql.catalyst.parser.ParseException + +Value out of range. Value:"32768" Radix:10(line 1, pos 7) + +== SQL == +select 32768S +-------^^^ + + +-- !query 6 +select 1L, 2147483648L, 9223372036854775807L +-- !query 6 schema +struct<1:bigint,2147483648:bigint,9223372036854775807:bigint> +-- !query 6 output +1 2147483648 9223372036854775807 + + +-- !query 7 +select 9223372036854775808L +-- !query 7 schema +struct<> +-- !query 7 output +org.apache.spark.sql.catalyst.parser.ParseException --- End diff -- Nevermind this one. We have someone working on it.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org