aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/expr/int_literals_negative.sql
blob: 2e8914827eb33a9c6b243e78a6217fe4c63f1c38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* syntax version 1 */
select -9223372036854775808 as i64_min;
select  9223372036854775807 as i64_max;
select  9223372036854775808 as u64;

select -2147483648 as i32_min;
select  2147483647 as i32_max;

select  2147483648 as i64;
select  4294967295 as i64;

select -32768 as i32;

select 18446744073709551615 as u64_max;