hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gunt...@apache.org
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 GMT
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



Mime
View raw message