Merge pull request #25831 from ClickHouse/add-test-25611

Add a test for #25611
This commit is contained in:
Maksim Kita 2021-06-30 11:04:17 +03:00 committed by GitHub
commit 3ebe43583f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;