mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
-- { echoOn }
|
|
select x from file('i8.orc') where indexHint(x = -128);
|
|
-128
|
|
select x from file('i8.orc') where indexHint(x = 128);
|
|
select x from file('u8.orc') where indexHint(x = -128);
|
|
-128
|
|
select x from file('u8.orc') where indexHint(x = 128);
|
|
select x from file('i16.orc') where indexHint(x = -32768);
|
|
-32768
|
|
select x from file('i16.orc') where indexHint(x = 32768);
|
|
select x from file('u16.orc') where indexHint(x = -32768);
|
|
-32768
|
|
select x from file('u16.orc') where indexHint(x = 32768);
|
|
select x from file('i32.orc') where indexHint(x = -2147483648);
|
|
-2147483648
|
|
select x from file('i32.orc') where indexHint(x = 2147483648);
|
|
select x from file('u32.orc') where indexHint(x = -2147483648);
|
|
-2147483648
|
|
select x from file('u32.orc') where indexHint(x = 2147483648);
|
|
select x from file('i64.orc') where indexHint(x = -9223372036854775808);
|
|
-9223372036854775808
|
|
select x from file('i64.orc') where indexHint(x = 9223372036854775808);
|
|
-9223372036854775808
|
|
select x from file('u64.orc') where indexHint(x = -9223372036854775808);
|
|
-9223372036854775808
|
|
select x from file('u64.orc') where indexHint(x = 9223372036854775808);
|
|
-9223372036854775808
|
|
select x from file('u8.orc', ORC, 'x UInt8') where indexHint(x > 10);
|
|
128
|
|
select x from file('u8.orc', ORC, 'x UInt64') where indexHint(x > 10);
|
|
18446744073709551488
|
|
select x from file('u16.orc', ORC, 'x UInt16') where indexHint(x > 10);
|
|
32768
|
|
select x from file('u16.orc', ORC, 'x UInt64') where indexHint(x > 10);
|
|
18446744073709518848
|
|
select x from file('u32.orc', ORC, 'x UInt32') where indexHint(x > 10);
|
|
2147483648
|
|
select x from file('u32.orc', ORC, 'x UInt64') where indexHint(x > 10);
|
|
18446744071562067968
|
|
select x from file('u64.orc', ORC, 'x UInt64') where indexHint(x > 10);
|
|
9223372036854775808
|