Return-Path: X-Original-To: apmail-phoenix-dev-archive@minotaur.apache.org Delivered-To: apmail-phoenix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1823184C2 for ; Tue, 11 Aug 2015 20:45:51 +0000 (UTC) Received: (qmail 43461 invoked by uid 500); 11 Aug 2015 20:45:51 -0000 Delivered-To: apmail-phoenix-dev-archive@phoenix.apache.org Received: (qmail 43412 invoked by uid 500); 11 Aug 2015 20:45:51 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 43401 invoked by uid 99); 11 Aug 2015 20:45:51 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2015 20:45:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3FA811A9D4E for ; Tue, 11 Aug 2015 20:45:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cI3sP-uIkJsH for ; Tue, 11 Aug 2015 20:45:46 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 4B1CC42B2A for ; Tue, 11 Aug 2015 20:45:46 +0000 (UTC) Received: (qmail 40730 invoked by uid 99); 11 Aug 2015 20:45:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2015 20:45:45 +0000 Date: Tue, 11 Aug 2015 20:45:45 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@phoenix.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-1673) Allow tenant ID to be of any integral data type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14682464#comment-14682464 ] ASF GitHub Bot commented on PHOENIX-1673: ----------------------------------------- Github user JeffreyLyonsD2L commented on the pull request: https://github.com/apache/phoenix/pull/104#issuecomment-130064362 Added the last few tests. > 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)