mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Add tests for -Distinct combinator
This commit is contained in:
parent
7c6322c5b0
commit
fa38cf780c
@ -0,0 +1,4 @@
|
||||
499500
|
||||
78
|
||||
[0,1,2,3,4,5,6,7,8,9,10,11,12]
|
||||
5.669227916063075e-17
|
4
tests/queries/0_stateless/01259_combinator_distinct.sql
Normal file
4
tests/queries/0_stateless/01259_combinator_distinct.sql
Normal file
@ -0,0 +1,4 @@
|
||||
SELECT sum(DISTINCT x) FROM (SELECT number AS x FROM system.numbers LIMIT 1000);
|
||||
SELECT sum(DISTINCT x) FROM (SELECT number % 13 AS x FROM system.numbers LIMIT 1000);
|
||||
SELECT groupArray(DISTINCT x) FROM (SELECT number % 13 AS x FROM system.numbers LIMIT 1000);
|
||||
SELECT corrStableDistinct(DISTINCT x, y) FROM (SELECT number % 11 AS x, number % 13 AS y FROM system.numbers LIMIT 1000);
|
Loading…
Reference in New Issue
Block a user