ClickHouse/tests/queries/0_stateless/01422_map_skip_null.sql
Alexey Milovidov a1ce6c4165 Fix errors
2021-01-05 04:26:29 +03:00

10 lines
633 B
SQL

select minMap(arrayJoin([([1], [null]), ([1], [null])])); -- { serverError 43 }
select maxMap(arrayJoin([([1], [null]), ([1], [null])])); -- { serverError 43 }
select sumMap(arrayJoin([([1], [null]), ([1], [null])])); -- { serverError 43 }
select sumMapWithOverflow(arrayJoin([([1], [null]), ([1], [null])])); -- { serverError 43 }
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])]));