Add a test for #25611

This commit is contained in:
Alexey Milovidov 2021-06-29 23:15:03 +03:00
parent 3b5468d4a4
commit ccd2f915af
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,2 @@
1 2
3 4

View File

@ -0,0 +1,8 @@
SELECT * FROM (
SELECT 1 AS a, 2 AS b FROM system.one
JOIN system.one USING dummy
UNION ALL
SELECT 3 AS a, 4 AS b FROM system.one
)
WHERE a != 10
ORDER BY a, b;