Skip to content

[BUG] JSQLParser 5.3 : Incorrect parse of WHERE column IN ('CONFIRMED') AND .... #2440

Description

@SuperPat45

With SQLParser 5.3, parsing:

SELECT * FROM record WHERE status IN ('CONFIRMED') AND start_datetime >= CURRENT_TIMESTAMP

The PlainSelect.getWhere() return an InExpression having a RightExpression of type AndExpression

In this case, the PlainSelect.getWhere() should return an AndExpression having a LeftExpression of type InExpression

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