2024-05-30 12:27:25 +00:00
|
|
|
select toInt64('--1'); -- { serverError CANNOT_PARSE_NUMBER }
|
|
|
|
select toInt64('+-1'); -- { serverError CANNOT_PARSE_NUMBER }
|
|
|
|
select toInt64('++1'); -- { serverError CANNOT_PARSE_NUMBER }
|
|
|
|
select toInt64('++'); -- { serverError CANNOT_PARSE_NUMBER }
|
|
|
|
select toInt64('+'); -- { serverError CANNOT_PARSE_NUMBER }
|
|
|
|
select toInt64('1+1'); -- { serverError CANNOT_PARSE_TEXT }
|
|
|
|
select toInt64('1-1'); -- { serverError CANNOT_PARSE_TEXT }
|
|
|
|
select toInt64(''); -- { serverError ATTEMPT_TO_READ_AFTER_EOF }
|
2021-05-25 02:29:47 +00:00
|
|
|
select toInt64('1');
|
|
|
|
select toInt64('-1');
|