You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/16 08:19:41 UTC

[jira] [Resolved] (PHOENIX-697) Table constraint should be preceded with comma

     [ https://issues.apache.org/jira/browse/PHOENIX-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriel Reid resolved PHOENIX-697.
----------------------------------

    Resolution: Fixed

Bulk resolve of closed issues imported from GitHub. This status was reached by first re-opening all closed imported issues and then resolving them in bulk.

> Table constraint should be preceded with comma
> ----------------------------------------------
>
>                 Key: PHOENIX-697
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-697
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: James Taylor
>
> The Phoenix grammar does not allow a comma before a composite primary key constraint, which is non standard.
> Instead of this:
>       create table foo (
>          x integer not null,
>          y integer
>          constraint pk primary key (x));
> we should support this:
>       create table foo (
>          x integer not null,
>          y integer,
>          constraint pk primary key (x));



--
This message was sent by Atlassian JIRA
(v6.2#6252)