You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2013/06/04 20:46:19 UTC
svn commit: r1489555 -
/hive/branches/vectorization/ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorGroupByOperator.java
Author: hashutosh
Date: Tue Jun 4 18:46:05 2013
New Revision: 1489555
URL: http://svn.apache.org/r1489555
Log:
HIVE-4651 : TestVectorGroupByOperator causes asserts in StandardStructObjectInspector.init (Remus Rusanu via Ashutosh Chauhan)
Modified:
hive/branches/vectorization/ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorGroupByOperator.java
Modified: hive/branches/vectorization/ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorGroupByOperator.java
URL: http://svn.apache.org/viewvc/hive/branches/vectorization/ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorGroupByOperator.java?rev=1489555&r1=1489554&r2=1489555&view=diff
==============================================================================
--- hive/branches/vectorization/ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorGroupByOperator.java (original)
+++ hive/branches/vectorization/ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorGroupByOperator.java Tue Jun 4 18:46:05 2013
@@ -151,6 +151,8 @@ public class TestVectorGroupByOperator {
ArrayList<ExprNodeDesc> keys = new ArrayList<ExprNodeDesc>();
keys.add(keyExp);
desc.setKeys(keys);
+
+ desc.getOutputColumnNames().add("_col1");
return desc;
}
@@ -1279,6 +1281,7 @@ public class TestVectorGroupByOperator {
ArrayList<String> outputColumnNames = new ArrayList<String>();
outputColumnNames.add("_col0");
+ outputColumnNames.add("_col1");
GroupByDesc desc = new GroupByDesc();
desc.setOutputColumnNames(outputColumnNames);