Skip to content

[BUG] Error when Import from SQL with INET type #535

@XHanL

Description

@XHanL

Describe the bug
Importing Postgres schemas with INET type cause error:

SyntaxError [Ln 2, Col 12]: Expected [A-Za-z0-9_\-$一-龥À-ſ] but "," found.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'File/Import from SQL', upload a sql file with postgres INET type,
  2. Click on 'Import'
  3. See error SyntaxError [Ln 2, Col 12]: Expected [A-Za-z0-9_\-$一-龥À-ſ] but "," found.

Screenshots
Image

Additional context

CREATE TABLE test (
    ip INET,
);

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