DynamoDb.SQL icon indicating copy to clipboard operation
DynamoDb.SQL copied to clipboard

Parser error when any field contains underscore in it's name

Open FTomaYoamb opened this issue 4 years ago • 1 comments

Error in Ln: 1 Col: 59 es_active WHERE day = "2021/04/29" AND create_date_device BEGINS WITH "2021/04/ ^

The parser backtracked after: Error in Ln: 1 Col: 65 ve WHERE day = "2021/04/29" AND create_date_device BEGINS WITH "2021/04/29" W ^ Expecting: '<', '<=', '=', '>', '>=' or 'begins with' (case-insensitive)

The parser backtracked after: Error in Ln: 1 Col: 65 ve WHERE day = "2021/04/29" AND create_date_device BEGINS WITH "2021/04/29" W ^ Expecting: 'between' (case-insensitive) : InvalidQueryException at DynamoDb.SQL.Parser.parseDynamoQuery(String str)

FTomaYoamb avatar May 07 '21 13:05 FTomaYoamb

I've changed isAttrName to be same as isTableName as a quick fix. it would be nice to have a new release

FTomaYoamb avatar May 07 '21 16:05 FTomaYoamb