ClickHouse/tests/queries/0_stateless/00831_quantile_weighted_parameter_check.sql
2024-05-30 19:41:08 +00:00

3 lines
177 B
SQL

SELECT quantileExactWeighted(0.5)(number, number) FROM numbers(10);
SELECT quantileExactWeighted(0.5)(number, 0.1) FROM numbers(10); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }