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 B42DD200BC2 for ; Thu, 3 Nov 2016 03:58:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B2E55160B0F; Thu, 3 Nov 2016 02:58:00 +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 09165160AFB for ; Thu, 3 Nov 2016 03:57:59 +0100 (CET) Received: (qmail 31409 invoked by uid 500); 3 Nov 2016 02:57:59 -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 31333 invoked by uid 99); 3 Nov 2016 02:57:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 02:57:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9C7DB2C2A6B for ; Thu, 3 Nov 2016 02:57:58 +0000 (UTC) Date: Thu, 3 Nov 2016 02:57:58 +0000 (UTC) From: "Hudson (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3423) PhoenixObjectInspector doesn't have information on length of the column. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 02:58:00 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15631342#comment-15631342 ] Hudson commented on PHOENIX-3423: --------------------------------- FAILURE: Integrated in Jenkins build Phoenix-master #1470 (See [https://builds.apache.org/job/Phoenix-master/1470/]) PHOENIX-3423 PhoenixObjectInspector doesn't have information on length (ssa: rev b477f370c0519d5f5385927d3809fb4a5433a2ec) * (edit) phoenix-hive/src/main/java/org/apache/phoenix/hive/objectinspector/PhoenixCharObjectInspector.java * (edit) phoenix-hive/src/main/java/org/apache/phoenix/hive/objectinspector/PhoenixObjectInspectorFactory.java > PhoenixObjectInspector doesn't have information on length of the column. > ------------------------------------------------------------------------ > > Key: PHOENIX-3423 > URL: https://issues.apache.org/jira/browse/PHOENIX-3423 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.8.0 > Reporter: Jeongdae Kim > Assignee: Jeongdae Kim > Fix For: 4.9.0 > > Attachments: PHOENIX-3423.patch > > > PhoenixObjectInspector doesn't have information on length of the column. this causes making incorrect constant valuesfor char columns in select statement because of padding spaces with max length(255), and get wrong results because of invalid filter conditions. > ex) column : r_name char(6), > hive query : select * from r_name = 'EUROPE', > phoenix query : select * from r_name = 'EUROPE ' (with 249(255 - 6) tailing white spaces) -- This message was sent by Atlassian JIRA (v6.3.4#6332)