You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "YoungWoo Kim (JIRA)" <ji...@apache.org> on 2016/09/25 14:40:20 UTC

[jira] [Updated] (PHOENIX-3330) Sample schema for Row timestamp is incorrect

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

YoungWoo Kim updated PHOENIX-3330:
----------------------------------
    Description: 
At http://phoenix.apache.org/rowtimestamp.html, sample schema for Row timestamp:
{code}
CREATE TABLE DESTINATION_METRICS_TABLE (CREATED_DATE NOT NULL DATE, METRIC_ID NOT NULL CHAR(15), METRIC_VALUE LONG CONSTRAINT PK PRIMARY KEY(CREATED_DATE ROW_TIMESTAMP, METRIC_ID)) SALT_BUCKETS = 8;
{code}

DDL for the table does not work.

  was:
At http://phoenix.apache.org/rowtimestamp.html, sample schema for Row timestamp:
```
CREATE TABLE DESTINATION_METRICS_TABLE (CREATED_DATE NOT NULL DATE, METRIC_ID NOT NULL CHAR(15), METRIC_VALUE LONG CONSTRAINT PK PRIMARY KEY(CREATED_DATE ROW_TIMESTAMP, METRIC_ID)) SALT_BUCKETS = 8;
```
DDL for the table does not work.


> Sample schema for Row timestamp is incorrect
> --------------------------------------------
>
>                 Key: PHOENIX-3330
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3330
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.8.0
>            Reporter: YoungWoo Kim
>            Priority: Trivial
>
> At http://phoenix.apache.org/rowtimestamp.html, sample schema for Row timestamp:
> {code}
> CREATE TABLE DESTINATION_METRICS_TABLE (CREATED_DATE NOT NULL DATE, METRIC_ID NOT NULL CHAR(15), METRIC_VALUE LONG CONSTRAINT PK PRIMARY KEY(CREATED_DATE ROW_TIMESTAMP, METRIC_ID)) SALT_BUCKETS = 8;
> {code}
> DDL for the table does not work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)