mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
sumMapWithOverflow: add test
This commit is contained in:
parent
e1d6017120
commit
f680176ade
@ -13,6 +13,7 @@
|
||||
([1],[257])
|
||||
([1],[1])
|
||||
([1],[1])
|
||||
([1],[1])
|
||||
(['a'],[1])
|
||||
(['1970-01-01 03:00:01'],[1])
|
||||
(['1970-01-02'],[1])
|
||||
|
@ -23,6 +23,7 @@ CREATE TABLE test.sum_map_overflow(events Array(UInt8), counts Array(UInt8)) ENG
|
||||
INSERT INTO test.sum_map_overflow VALUES ([1], [255]), ([1], [2]);
|
||||
|
||||
SELECT sumMap(events, counts) FROM test.sum_map_overflow;
|
||||
SELECT sumMapWithOverflow(events, counts) FROM test.sum_map_overflow;
|
||||
|
||||
DROP TABLE test.sum_map_overflow;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user