ClickHouse/dbms/tests/queries/0_stateless/00980_crash_nullable_decimal.sql

9 lines
428 B
MySQL
Raw Normal View History

2019-08-07 12:26:44 +00:00
select arrayReduce('median', [toDecimal32OrNull('1', 2)]);
select arrayReduce('median', [toDecimal64OrNull('1', 2)]);
select arrayReduce('median', [toDecimal128OrZero('1', 2)]);
select arrayReduce('sum', [toDecimal128OrNull('1', 2)]);
select arrayReduce('median', [toDecimal128OrNull('1', 2)]);
select arrayReduce('quantile(0.2)', [toDecimal128OrNull('1', 2)]);
select arrayReduce('medianExact', [toDecimal128OrNull('1', 2)]);