mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
13 lines
217 B
SQL
13 lines
217 B
SQL
SELECT number
|
|
FROM
|
|
(
|
|
SELECT zero AS number
|
|
FROM remote('127.0.0.2', system.zeros)
|
|
UNION ALL
|
|
SELECT number + sleep(0.5)
|
|
FROM system.numbers
|
|
)
|
|
WHERE number = 1
|
|
LIMIT 1
|
|
SETTINGS max_rows_to_read = 0;
|