You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?