Skip to content

[BUG] JSQLParser Version : 4.7 parsed error  #1884

@tdelain

Description

@tdelain

SELECT ID FROM a6_ WHERE opIn & 0x1603ffff823 = 0x1603ffff820 AND date>='20131208_233900'

Cannot be parsed. It was working well with v1.1

net.sf.jsqlparser.JSQLParserException: Encountered unexpected token: "ND" <S_IDENTIFIER>
at line 1, column 64.

Was expecting one of:

"::"
"["
"^"
<EOF>
<ST_SEMICOLON>

at net.sf.jsqlparser.parser.CCJSqlParserManager.parse(CCJSqlParserManager.java:25)

With parentheses, it is OK :
SELECT ID FROM a6_ WHERE (opIn & 0x1603ffff823 = 0x1603ffff820) AND date>='20131208_233900'

Software Information:

  • JSqlParser version 4.7
  • Database : no database, just parse

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions