mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Tests should work with joined_subquery_requires_alias
This commit is contained in:
parent
c2f0d7c514
commit
fa305b1a72
@ -17,7 +17,7 @@ LEFT JOIN
|
|||||||
SELECT id, sum(delta) as deltas_sum FROM dst
|
SELECT id, sum(delta) as deltas_sum FROM dst
|
||||||
WHERE id IN (SELECT id FROM src WHERE not sleepEachRow(0.001))
|
WHERE id IN (SELECT id FROM src WHERE not sleepEachRow(0.001))
|
||||||
GROUP BY id
|
GROUP BY id
|
||||||
)
|
) _a
|
||||||
USING (id);
|
USING (id);
|
||||||
|
|
||||||
-- Inserting 2 numbers should require 2 calls to sleep
|
-- Inserting 2 numbers should require 2 calls to sleep
|
||||||
@ -33,7 +33,7 @@ DESCRIBE ( SELECT '1947 #3 QUERY - TRUE',
|
|||||||
SELECT id, sum(delta) as deltas_sum FROM dst
|
SELECT id, sum(delta) as deltas_sum FROM dst
|
||||||
WHERE id IN (SELECT id FROM src WHERE not sleepEachRow(0.001))
|
WHERE id IN (SELECT id FROM src WHERE not sleepEachRow(0.001))
|
||||||
GROUP BY id
|
GROUP BY id
|
||||||
)
|
) _a
|
||||||
USING (id)
|
USING (id)
|
||||||
) FORMAT Null;
|
) FORMAT Null;
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ FROM src
|
|||||||
SELECT id, sum(delta) as deltas_sum FROM dst
|
SELECT id, sum(delta) as deltas_sum FROM dst
|
||||||
WHERE id IN (SELECT id FROM src WHERE not sleepEachRow(0.001))
|
WHERE id IN (SELECT id FROM src WHERE not sleepEachRow(0.001))
|
||||||
GROUP BY id
|
GROUP BY id
|
||||||
)
|
) _a
|
||||||
USING (id);
|
USING (id);
|
||||||
|
|
||||||
-- Inserting 2 numbers should require 2 calls to sleep
|
-- Inserting 2 numbers should require 2 calls to sleep
|
||||||
@ -103,7 +103,7 @@ DESCRIBE ( SELECT '1947 #3 QUERY - FALSE',
|
|||||||
SELECT id, sum(delta) as deltas_sum FROM dst
|
SELECT id, sum(delta) as deltas_sum FROM dst
|
||||||
WHERE id IN (SELECT id FROM src WHERE not sleepEachRow(0.001))
|
WHERE id IN (SELECT id FROM src WHERE not sleepEachRow(0.001))
|
||||||
GROUP BY id
|
GROUP BY id
|
||||||
)
|
) _a
|
||||||
USING (id)
|
USING (id)
|
||||||
) FORMAT Null;
|
) FORMAT Null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user