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

ASF GitHub Bot commented on PHOENIX-1673:
-----------------------------------------

GitHub user JeffreyLyonsD2L opened a pull request:

    https://github.com/apache/phoenix/pull/104

    PHOENIX-1673 Allow TenantId to be of any integral data type

    Hopefully everything here is in order, if there are any questions or 
requests don't hesitate to ask.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JeffreyLyonsD2L/phoenix PHOENIX-1673

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/phoenix/pull/104.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #104
    
----
commit 9046050f983b0a3b412f3bf26e54948c612ee71f
Author: Jeffrey Lyons <[email protected]>
Date:   2015-07-09T14:07:40Z

    PHOENIX-1673 Allow TenantId to be of any integral data type

----


> 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.0
>            Reporter: Mark Tse
>              Labels: Newbie, multi-tenant
>             Fix For: 5.0.0, 4.4.1
>
>
> 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)

Reply via email to