Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0BED7200C3A for ; Fri, 3 Mar 2017 00:14:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0A83F160B7A; Thu, 2 Mar 2017 23:14:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 52F25160B6F for ; Fri, 3 Mar 2017 00:14:48 +0100 (CET) Received: (qmail 23312 invoked by uid 500); 2 Mar 2017 23:14:47 -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 23301 invoked by uid 99); 2 Mar 2017 23:14:47 -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; Thu, 02 Mar 2017 23:14:47 +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 1B6EC1A0172 for ; Thu, 2 Mar 2017 23:14:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] 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 y1o2HZhdaIuG for ; Thu, 2 Mar 2017 23:14:46 +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 2F4675FC00 for ; Thu, 2 Mar 2017 23:14:46 +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 9A976E012C for ; Thu, 2 Mar 2017 23:14:45 +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 58BCA24156 for ; Thu, 2 Mar 2017 23:14:45 +0000 (UTC) Date: Thu, 2 Mar 2017 23:14:45 +0000 (UTC) From: "Samarth Jain (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3346) Hive PhoenixStorageHandler doesn't work well with column mapping MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 02 Mar 2017 23:14:49 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893218#comment-15893218 ] Samarth Jain commented on PHOENIX-3346: --------------------------------------- Thank you, [~sergey.soldatov]. Sorry for being on your case. Just trying to get builds stabilized for our 4.10 release. It looks like the newly added hive tests are not completing. See this crawler report - https://builds.apache.org/job/PhoenixFindTestTimeout/538/console > Hive PhoenixStorageHandler doesn't work well with column mapping > ---------------------------------------------------------------- > > Key: PHOENIX-3346 > URL: https://issues.apache.org/jira/browse/PHOENIX-3346 > Project: Phoenix > Issue Type: Bug > Reporter: Sergey Soldatov > Assignee: Sergey Soldatov > Priority: Blocker > Labels: HivePhoenix > Fix For: 4.10.0 > > Attachments: PHOENIX-3346-1.patch > > > If column mapping is used during table creation, the hive table becomes unusable and throws UnknownColumn exception. > There are several issues in the current implementation: > 1. During table creation mapping doesn't applies to primary keys > 2. During select query building no mapping happen > 3. PhoenixRow should have backward mapping from phoenix column names to hive names. -- This message was sent by Atlassian JIRA (v6.3.15#6346)