Skip to content

Issues parsing AUTOINCREMENT together with NOT NULL statement #170

@devxor

Description

@devxor

Describe the bug
When there is NOT NULL statement before AUTOINCREMENT statement the parser is not returning results.

To Reproduce

CREATE OR REPLACE TABLE mytable (
    field_1 NUMBER(38, 0) NOT NULL AUTOINCREMENT
);

Expected behavior
Results parsed correctly.

**Question:
When I will remove NOT NULL in the above example, it will be parsed, however the type of the column will be displayed as NUMBERAUTOINCREMENT. Is it correct? Should not be only NUMBER and AUTOINCREMENT as a separate flag or so?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions