ClickHouse/tests/queries/0_stateless/01070_to_decimal_or_null_exception.sql

8 lines
294 B
MySQL
Raw Normal View History

2020-01-21 18:04:22 +00:00
SELECT toDecimal32('e', 1); -- { serverError 72 }
SELECT toDecimal64('e', 2); -- { serverError 72 }
SELECT toDecimal128('e', 3); -- { serverError 72 }
SELECT toDecimal32OrNull('e', 1) x, isNull(x);
SELECT toDecimal64OrNull('e', 2) x, isNull(x);
SELECT toDecimal128OrNull('e', 3) x, isNull(x);