ClickHouse/tests/queries/0_stateless/01888_read_int_safe.sql
2023-03-06 12:31:54 +01:00

11 lines
395 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');