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

Gabriel Reid resolved PHOENIX-255.
----------------------------------

    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.

> Allow Empty ColumFamily creation in create table statement
> ----------------------------------------------------------
>
>                 Key: PHOENIX-255
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-255
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: maillard
>              Labels: wontfix
>
> Sometimes you know part of your data schema and just general logical buckets 
> for the rest.
> For example you might want to declare specific entries like a total, a userid 
> or other metrics but you also need a list of entries, say a list of urls the 
> user has visited in the past day.
> For this you would create a table with all your entries and an empty LIST 
> family name to store all the "URL:TIMSETAMP" key/values.
> One declaration idea would be to add a FAMILYNAME.* type of entry in the 
> create table statement.
> CREATE TABLE my_table ( 
>                               userid BIGINT NOT NULL, 
>                               date DATE NOT NULL,
>                               total BIGINT,
>                               LIST.*
>                               CONSTRAINT pk PRIMARY KEY (userid,date) )



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

Reply via email to