ClickHouse/tests/queries/0_stateless/01888_read_int_safe.sql
Alexey Milovidov 0ad20e6613 Fix test
2021-10-13 03:14:44 +03:00

11 lines
403 B
SQL

select toInt64('--1'); -- { serverError 72; }
select toInt64('+-1'); -- { serverError 72; }
select toInt64('++1'); -- { serverError 72; }
select toInt64('++'); -- { serverError 72; }
select toInt64('+'); -- { serverError 72; }
select toInt64('1+1'); -- { serverError 6; }
select toInt64('1-1'); -- { serverError 6; }
select toInt64(''); -- { serverError 32; }
select toInt64('1');
select toInt64('-1');