Francis Chuang created PHOENIX-3380:

             Summary: Document that NOT NULL can only be applied to primary keys
                 Key: PHOENIX-3380
             Project: Phoenix
          Issue Type: Bug
            Reporter: Francis Chuang

According to, the 
second example shows a non-primary key column having NOT NULL set. Executing 
this will currently return an error as NOT NULL can only be used on primary key 

The railroad diagram from ColumnDef also seems to imply that you can use NOT 
NULL on any column:

I think a note should be added to mention that NOT NULL is only supported on 
primary key columns.

This message was sent by Atlassian JIRA

Reply via email to