Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 981F010992 for ; Fri, 24 Oct 2014 06:58:18 +0000 (UTC) Received: (qmail 23786 invoked by uid 500); 24 Oct 2014 06:58:18 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 23739 invoked by uid 500); 24 Oct 2014 06:58:18 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 23728 invoked by uid 99); 24 Oct 2014 06:58:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 06:58:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 06:57:56 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4F595238897A; Fri, 24 Oct 2014 06:56:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1634006 - in /hive/trunk/ql/src: java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java test/results/clientpositive/tez/vector_data_types.q.out Date: Fri, 24 Oct 2014 06:56:25 -0000 To: commits@hive.apache.org From: gunther@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141024065625.4F595238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gunther Date: Fri Oct 24 06:56:24 2014 New Revision: 1634006 URL: http://svn.apache.org/r1634006 Log: HIVE-8567: Vectorized queries output extra stuff for Binary columns (Matt McCline via Gunther Hagleitner) Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java hive/trunk/ql/src/test/results/clientpositive/tez/vector_data_types.q.out Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java?rev=1634006&r1=1634005&r2=1634006&view=diff ============================================================================== --- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java (original) +++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedBatchUtil.java Fri Oct 24 06:56:24 2014 @@ -401,7 +401,7 @@ public class VectorizedBatchUtil { BytesWritable bw = (BytesWritable) writableCol; byte[] bytes = bw.getBytes(); int start = buffer.getLength(); - int length = bytes.length; + int length = bw.getLength(); try { buffer.write(bytes, 0, length); } catch (IOException ioe) { Modified: hive/trunk/ql/src/test/results/clientpositive/tez/vector_data_types.q.out URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/tez/vector_data_types.q.out?rev=1634006&r1=1634005&r2=1634006&view=diff ============================================================================== Files hive/trunk/ql/src/test/results/clientpositive/tez/vector_data_types.q.out (original) and hive/trunk/ql/src/test/results/clientpositive/tez/vector_data_types.q.out Fri Oct 24 06:56:24 2014 differ