ClickHouse/tests/queries/0_stateless/02030_quantiles_underflow.sql
2021-09-20 21:21:40 +03:00

7 lines
138 B
SQL

SELECT
arrayMap(y -> round(y, 1), quantilesExactInclusive(0.1, 0.9)(x)) AS q
FROM
(
SELECT arrayJoin([-2147483648, 1, 2]) AS x
);