Added test [#METR-22301].

This commit is contained in:
Alexey Milovidov 2016-09-23 04:18:46 +03:00
parent 9120776fe1
commit 95fc632f41
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,3 @@
(0,'Hello') 5
(1,'World') 5
(1)

View File

@ -0,0 +1,2 @@
SELECT if(number % 2, tuple(0, 'Hello'), tuple(1, 'World')) AS x, count() FROM (SELECT number FROM system.numbers LIMIT 10) GROUP BY x ORDER BY x;
SELECT if(0, tuple(0), tuple(1)) AS x GROUP BY x;