mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added a test [#CLICKHOUSE-3855]
This commit is contained in:
parent
bbdd780be0
commit
448bcdfdb4
@ -0,0 +1,7 @@
|
|||||||
|
1 1
|
||||||
|
0 1
|
||||||
|
1 1
|
||||||
|
0 1
|
||||||
|
1 1
|
||||||
|
0 8
|
||||||
|
1 2
|
12
dbms/tests/queries/0_stateless/00676_group_by_in.sql
Normal file
12
dbms/tests/queries/0_stateless/00676_group_by_in.sql
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
SELECT dummy IN (0) AS x, count() GROUP BY x;
|
||||||
|
|
||||||
|
SELECT 1 IN (0) AS x, count() GROUP BY x;
|
||||||
|
SELECT 0 IN (0) AS x, count() GROUP BY x;
|
||||||
|
SELECT materialize(1) IN (0) AS x, count() GROUP BY x;
|
||||||
|
SELECT materialize(0) IN (0) AS x, count() GROUP BY x;
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
number IN (1, 2) AS x,
|
||||||
|
count()
|
||||||
|
FROM numbers(10)
|
||||||
|
GROUP BY x;
|
Loading…
Reference in New Issue
Block a user