Details
-
Improvement
-
Resolution: Won't Fix
-
Minor
-
5.5.0
-
Enterprise Edition 5.5.0 build 2423
Description
Query: select –9223372036854775806
Here "-" is a unicode character.
Result:
[
|
{
|
"code": 1,
|
"msg": "ParseException: TokenMgrError: Lexical error at line 1, column 8. Encountered: \"\\u2013\" (8211), after : \"\"",
|
"query_from_user": "select –9223372036854775806"
|
}
|
]
|
N1QL also does not support it:
[
|
{
|
"code": 3000,
|
"msg": "syntax error - at –",
|
"query_from_user": "select –9223372036854775806"
|
}
|
]
|
Logged this ticket if we can do something about it in future or at minimum be aware of this.