Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87CFF11C4C for ; Mon, 23 Jun 2014 09:56:25 +0000 (UTC) Received: (qmail 30217 invoked by uid 500); 23 Jun 2014 09:56:25 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 30146 invoked by uid 500); 23 Jun 2014 09:56:25 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 30128 invoked by uid 500); 23 Jun 2014 09:56:25 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 30125 invoked by uid 99); 23 Jun 2014 09:56:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2014 09:56:25 +0000 Date: Mon, 23 Jun 2014 09:56:25 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7265) BINARY columns use BytesWritable::getBytes() without ::getLength() 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/HIVE-7265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-7265: ----------------------------------- Resolution: Fixed Fix Version/s: 0.14.0 Status: Resolved (was: Patch Available) Committed to trunk. Thanks, Navis! > BINARY columns use BytesWritable::getBytes() without ::getLength() > ------------------------------------------------------------------ > > Key: HIVE-7265 > URL: https://issues.apache.org/jira/browse/HIVE-7265 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.14.0 > Reporter: Gopal V > Assignee: Navis > Priority: Minor > Fix For: 0.14.0 > > Attachments: HIVE-7265.1.patch.txt > > > The Text conversion for BINARY columns does > {code} > case BINARY: > t.set(((BinaryObjectInspector) inputOI).getPrimitiveWritableObject(input).getBytes()); > return t; > {code} > This omission was noticed while investigating a different String related bug, in a list of functions which call getBytes() without calling getSize/getLength(). -- This message was sent by Atlassian JIRA (v6.2#6252)