You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Mark Tse (JIRA)" <ji...@apache.org> on 2015/02/18 21:21:12 UTC

[jira] [Created] (PHOENIX-1673) Allow tenant ID to be of any integral data type

Mark Tse created PHOENIX-1673:
---------------------------------

             Summary: Allow tenant ID to be of any integral data type
                 Key: PHOENIX-1673
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1673
             Project: Phoenix
          Issue Type: Improvement
    Affects Versions: 4.3
            Reporter: Mark Tse


When creating multi-tenant tables and views, the column that identifies the tenant (first primary key column) must be of type 'VARCHAR' or 'CHAR'.

It should be possible to relax this restriction to use any integral data type. The tenant ID from the connection property can be converted based on the data type of the first primary key column.



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