mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added test [#METR-22035].
This commit is contained in:
parent
f5f38e1e50
commit
6912bfa6be
@ -0,0 +1,17 @@
|
||||
0 0 (0,0) [0,0]
|
||||
1 1 (1,1) [1,1]
|
||||
2 2 (2,2) [2,2]
|
||||
0 3 (0,3) [0,3]
|
||||
1 4 (1,4) [1,4]
|
||||
2 0 (2,0) [2,0]
|
||||
0 1 (0,1) [0,1]
|
||||
1 2 (1,2) [1,2]
|
||||
2 3 (2,3) [2,3]
|
||||
0 4 (0,4) [0,4]
|
||||
1 0 (1,0) [1,0]
|
||||
2 1 (2,1) [2,1]
|
||||
0 2 (0,2) [0,2]
|
||||
1 3 (1,3) [1,3]
|
||||
2 4 (2,4) [2,4]
|
||||
2 2
|
||||
2 2
|
@ -0,0 +1,3 @@
|
||||
SELECT DISTINCT number % 3, number % 5, (number % 3, number % 5), [number % 3, number % 5] FROM (SELECT * FROM system.numbers LIMIT 100);
|
||||
SELECT count(), count(DISTINCT x, y) FROM (SELECT DISTINCT * FROM (SELECT 'a\0b' AS x, 'c' AS y UNION ALL SELECT 'a', 'b\0c'));
|
||||
SELECT count(), count(DISTINCT x, y) FROM (SELECT DISTINCT * FROM (SELECT [1, 2] AS x, [3] AS y UNION ALL SELECT [1], [2, 3]));
|
Loading…
Reference in New Issue
Block a user