Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
In Phoenix, the comma before the CONSTRAINT is optional (which matches Oracle). Can this be supported in Calcite Phoenix?
For example, this is ok in Phoenix:
CREATE TABLE T ( K VARCHAR CONSTRAINT PK PRIMARY KEY (K));
as is this:
CREATE TABLE T ( K VARCHAR, CONSTRAINT PK PRIMARY KEY (K));
If this is not feasible, we could require the comma and change the tests. This is leading to a lot of failures.