Skip to content

CCJSqlParserUtil.parse && return AND #999

@KNMD

Description

@KNMD

Describe the bug
Version:3.1
Database:Postgres
Postgres database has some spec symbol like "&&" to do some operate,But, CCJSqlParserUtil.parse method parse result is change to "AND", How to resovle or work around

To Reproduce
Steps to reproduce the behavior:

  1. Example SQL: SELECT * from Table WHERE (field_1 && ?)
  2. Parsing this SQL using CCJSqlParserUtil.parse with this statements
  3. Return SelectBody is SELECT * from Table WHERE (field_1 AND ?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions