From dev-return-51556-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Wed May 9 01:22:03 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 43D2A18063B for ; Wed, 9 May 2018 01:22:03 +0200 (CEST) Received: (qmail 21966 invoked by uid 500); 8 May 2018 23:22:02 -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 21954 invoked by uid 99); 8 May 2018 23:22:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2018 23:22:02 +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 D55771A2F39 for ; Tue, 8 May 2018 23:22:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3dGWXQBkF8W5 for ; Tue, 8 May 2018 23:22:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D8D945FBB9 for ; Tue, 8 May 2018 23:22:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5A006E0047 for ; Tue, 8 May 2018 23:22:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 171702129B for ; Tue, 8 May 2018 23:22:00 +0000 (UTC) Date: Tue, 8 May 2018 23:22:00 +0000 (UTC) From: "James Taylor (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (PHOENIX-4623) Inconsistent physical view index name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-4623?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor reassigned PHOENIX-4623: ------------------------------------- Assignee: James Taylor > Inconsistent physical view index name > ------------------------------------- > > Key: PHOENIX-4623 > URL: https://issues.apache.org/jira/browse/PHOENIX-4623 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.13.0 > Reporter: Akshita Malhotra > Assignee: James Taylor > Priority: Major > Labels: easyfix > Fix For: 4.15.0 > > > The physical view indexes are incorrectly named when table has a schema. = For instance, if a table name is "SCH.TABLE",=C2=A0during creation the phys= ical index table is named as "_IDX_SCH.TABLE" which doesn't look right. In = case namespaces are enabled, the physical index table is named as "SCH:_IDX= _TABLE" > The client APIs on the other hand such as MetaDataUtil.getViewIndexName(S= tring schemaName, String tableName) API to retrieve the phyisical view inde= x name returns "SCH._IDX_TABLE" which as per convention returns the right n= ame but functionally leads to wrong results as this is not how the physical= indexes are named during construction. > =C2=A0 > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)