[
https://issues.apache.org/jira/browse/PHOENIX-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694090#comment-14694090
]
ASF GitHub Bot commented on PHOENIX-1673:
-----------------------------------------
GitHub user JeffreyLyonsD2L opened a pull request:
https://github.com/apache/phoenix/pull/108
PHOENIX-1673 Allow TenantId to be of any integral data type
Patch for 4.x-HBase-0.98
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JeffreyLyonsD2L/phoenix
PHOENIX-1673-4.x-HBase-0.98
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/108.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 #108
----
commit ea7f2e6b9edade131853eef8d27ccb471a9c4697
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
> Assignee: Jeffrey Lyons
> Labels: Newbie, multi-tenant
> Fix For: 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)