mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
14 lines
651 B
SQL
14 lines
651 B
SQL
-- executeGeneric()
|
|
SELECT range(1025, 1048576 + 9223372036854775807, 9223372036854775807);
|
|
SELECT range(1025, 1048576 + (9223372036854775807 AS i), i);
|
|
SELECT range(1025, 18446744073709551615, 1); -- { serverError ARGUMENT_OUT_OF_BOUND }
|
|
|
|
-- executeConstStep()
|
|
SELECT range(number, 1048576 + 9223372036854775807, 9223372036854775807) FROM system.numbers LIMIT 1 OFFSET 1025;
|
|
|
|
-- executeConstStartStep()
|
|
SELECT range(1025, number + 9223372036854775807, 9223372036854775807) FROM system.numbers LIMIT 1 OFFSET 1048576;
|
|
|
|
-- executeConstStart()
|
|
SELECT range(1025, 1048576 + 9223372036854775807, number + 9223372036854775807) FROM system.numbers LIMIT 1;
|