mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
10 lines
567 B
MySQL
10 lines
567 B
MySQL
|
select minMap(arrayJoin([([1], [null]), ([1], [null])]));
|
||
|
select maxMap(arrayJoin([([1], [null]), ([1], [null])]));
|
||
|
select sumMap(arrayJoin([([1], [null]), ([1], [null])])); -- { serverError 43 }
|
||
|
select sumMapWithOverflow(arrayJoin([([1], [null]), ([1], [null])]));
|
||
|
|
||
|
select minMap(arrayJoin([([1, 2], [null, 11]), ([1, 2], [null, 22])]));
|
||
|
select maxMap(arrayJoin([([1, 2], [null, 11]), ([1, 2], [null, 22])]));
|
||
|
select sumMap(arrayJoin([([1, 2], [null, 11]), ([1, 2], [null, 22])]));
|
||
|
select sumMapWithOverflow(arrayJoin([([1, 2], [null, 11]), ([1, 2], [null, 22])]));
|