Skip to content

Create table LIKE another table not supported #413

@ghost

Description

create table temp.abc2 (like temp.abc1) ;
This is a valid Postgresql query but JsqlParser throws below exception :

Exception in thread "main" net.sf.jsqlparser.JSQLParserException
at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:54)
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "LIKE" "like "" at line 1, column 25.

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