diff --git a/dbms/tests/queries/0_stateless/00502_sum_map.reference b/dbms/tests/queries/0_stateless/00502_sum_map.reference index a8d9fe95af3..0b8eec0f089 100644 --- a/dbms/tests/queries/0_stateless/00502_sum_map.reference +++ b/dbms/tests/queries/0_stateless/00502_sum_map.reference @@ -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]) diff --git a/dbms/tests/queries/0_stateless/00502_sum_map.sql b/dbms/tests/queries/0_stateless/00502_sum_map.sql index 24eab44d3d0..d70a3bfbe7f 100644 --- a/dbms/tests/queries/0_stateless/00502_sum_map.sql +++ b/dbms/tests/queries/0_stateless/00502_sum_map.sql @@ -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;