mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Added test for old issue #1788
This commit is contained in:
parent
de2d081f8b
commit
72e4963248
@ -0,0 +1,2 @@
|
||||
1
|
||||
1 1
|
@ -0,0 +1,36 @@
|
||||
CREATE TEMPORARY TABLE test
|
||||
(
|
||||
x Int32
|
||||
);
|
||||
|
||||
INSERT INTO test VALUES (1);
|
||||
|
||||
SELECT x
|
||||
FROM
|
||||
(
|
||||
SELECT
|
||||
x,
|
||||
1
|
||||
FROM test
|
||||
ALL INNER JOIN
|
||||
(
|
||||
SELECT
|
||||
count(),
|
||||
1
|
||||
FROM test
|
||||
) USING (1)
|
||||
LIMIT 10
|
||||
);
|
||||
|
||||
SELECT
|
||||
x,
|
||||
1
|
||||
FROM test
|
||||
ALL INNER JOIN
|
||||
(
|
||||
SELECT
|
||||
count(),
|
||||
1
|
||||
FROM test
|
||||
) USING (1)
|
||||
LIMIT 10;
|
Loading…
Reference in New Issue
Block a user