hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jd...@apache.org
Subject hive git commit: HIVE-11991: groupby11.q failing on branch-1.0 - branch-1.0 only fix
Date Wed, 30 Sep 2015 19:01:15 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1.0 37206a49f -> d00a5a26e


HIVE-11991: groupby11.q failing on branch-1.0
 - branch-1.0 only fix


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/d00a5a26
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/d00a5a26
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/d00a5a26

Branch: refs/heads/branch-1.0
Commit: d00a5a26e01c8b1070b45bce83748ed4b1cd595e
Parents: 37206a4
Author: Jason Dere <jdere@hortonworks.com>
Authored: Wed Sep 30 12:00:27 2015 -0700
Committer: Jason Dere <jdere@hortonworks.com>
Committed: Wed Sep 30 12:00:27 2015 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/d00a5a26/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java
index 00efe4e..4cf9fb1 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java
@@ -310,8 +310,9 @@ public class FetchOperator implements Serializable {
     Object[] partValues = new Object[partKeys.length];
     for (int i = 0; i < partKeys.length; i++) {
       String key = partKeys[i];
-      ObjectInspector oi = TypeInfoUtils.getStandardJavaObjectInspectorFromTypeInfo(
-          TypeInfoFactory.getPrimitiveTypeInfo(partKeyTypes[i]));
+      ObjectInspector oi = PrimitiveObjectInspectorFactory
+          .getPrimitiveWritableObjectInspector(TypeInfoFactory
+              .getPrimitiveTypeInfo(partKeyTypes[i]));
       partValues[i] = 
           ObjectInspectorConverters.
           getConverter(PrimitiveObjectInspectorFactory.


Mime
View raw message