hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jd...@apache.org
Subject svn commit: r1667082 - /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DefaultUDAFEvaluatorResolver.java
Date Mon, 16 Mar 2015 17:40:57 GMT
Author: jdere
Date: Mon Mar 16 17:40:56 2015
New Revision: 1667082

URL: http://svn.apache.org/r1667082
Log:
HIVE-9936: fix potential NPE in DefaultUDAFEvaluatorResolver (Alexander Pivovarov via Jason
Dere)

Modified:
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DefaultUDAFEvaluatorResolver.java

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DefaultUDAFEvaluatorResolver.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DefaultUDAFEvaluatorResolver.java?rev=1667082&r1=1667081&r2=1667082&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DefaultUDAFEvaluatorResolver.java
(original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DefaultUDAFEvaluatorResolver.java
Mon Mar 16 17:40:56 2015
@@ -20,7 +20,6 @@ package org.apache.hadoop.hive.ql.exec;
 
 import java.lang.reflect.Method;
 import java.util.ArrayList;
-import java.util.Arrays;
 import java.util.List;
 
 import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo;
@@ -92,12 +91,12 @@ public class DefaultUDAFEvaluatorResolve
         if (found == -1) {
           found = i;
         } else {
-          throw new AmbiguousMethodException(udafClass, null, null); 
+          throw new AmbiguousMethodException(udafClass, argClasses, mList);
         }
       }
     }
     assert (found != -1);
-    
+
     return cList.get(found);
   }
 



Mime
View raw message