ClickHouse/tests/queries/0_stateless/02968_sumMap_with_nan.sql
2024-01-19 14:15:49 +01:00

5 lines
246 B
SQL

SELECT sumMapFiltered([6.7])([x], [y])
FROM values('x Float64, y Float64', (0, 1), (1, 2.3), (nan, inf), (6.7, 3), (4, 4), (5, 1));
SELECT sumMap([x],[y]) FROM values('x Float64, y Float64', (4, 1), (1, 2.3), (nan,inf), (6.7,3), (4,4), (5, 1));