[ 
https://issues.apache.org/jira/browse/PHOENIX-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14155469#comment-14155469
 ] 

James Taylor commented on PHOENIX-1311:
---------------------------------------

Good idea, [~nmaillard]. Phoenix already has the concept of a "schema", so it'd 
be good to tie the concept of a Phoenix schema to an HBase namespace.  For 
example, you can define a table like this:
{code}
    CREATE TABLE my_schema.my_table (k VARCHAR PRIMARY KEY);
{code}
In this case, my_table could be defined in the the my_schema namespace.

> HBase namespaces surfaced in phoenix
> ------------------------------------
>
>                 Key: PHOENIX-1311
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1311
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: maillard
>            Priority: Minor
>
> Hbase (HBASE-8015) has the concept of namespaces in the form of 
> myNamespace:MyTable it would be great if Phoenix leveraged this feature to 
> give a database like feature on top of the table.
> Maybe to stay close to Hbase it could also be a create DB:Table...
> or DB.Table which is a more standard annotation?



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

Reply via email to