Skip to content

[FEATURE] MERGE ON without () #1880

Closed
@cverdela

Description

@cverdela

Grammar or Syntax Description

Hello, when I use JSqlParser to parse 'MERGE' statement and there are missing parentheses after 'ON,' it throws an error.

SQL Example

merge into table1 USING ( select * from table2) c on table1.aa=c.aa WHEN NOT MATCHED THEN INSERT ( bb,aa ) VALUES (c.aa, c.bb ,c.cc)

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