2024-05-28 11:48:53 +00:00
|
|
|
-- Tags: no-parallel
|
|
|
|
|
2024-05-16 13:22:54 +00:00
|
|
|
SELECT * FROM loop(numbers(3)) LIMIT 10;
|
|
|
|
SELECT * FROM loop (numbers(3)) LIMIT 10 settings max_block_size = 1;
|
|
|
|
|
2024-08-07 16:19:15 +00:00
|
|
|
CREATE TABLE t (n Int8) ENGINE=MergeTree ORDER BY n;
|
|
|
|
INSERT INTO t SELECT * FROM numbers(10);
|
2024-05-16 13:22:54 +00:00
|
|
|
|
2024-08-07 16:19:15 +00:00
|
|
|
SELECT * FROM loop({CLICKHOUSE_DATABASE:Identifier}.t) LIMIT 15;
|
2024-05-16 13:22:54 +00:00
|
|
|
SELECT * FROM loop(t) LIMIT 15;
|
2024-08-07 16:19:15 +00:00
|
|
|
SELECT * FROM loop({CLICKHOUSE_DATABASE:Identifier}, t) LIMIT 15;
|
2024-06-01 07:52:47 +00:00
|
|
|
|
|
|
|
SELECT * FROM loop('', '') -- { serverError UNKNOWN_TABLE }
|