hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1354079 - /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java
Date Tue, 26 Jun 2012 16:03:52 GMT
Author: hashutosh
Date: Tue Jun 26 16:03:51 2012
New Revision: 1354079

URL: http://svn.apache.org/viewvc?rev=1354079&view=rev
Log:
HIVE-3048 : Collect_set Aggregate does uneccesary check for value. (Ed Capriolo via Ashutosh
Chauhan)

Modified:
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java?rev=1354079&r1=1354078&r2=1354079&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java
(original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCollectSet.java
Tue Jun 26 16:03:51 2012
@@ -156,8 +156,6 @@ public class GenericUDAFCollectSet exten
     }
     
     private void putIntoSet(Object p, MkArrayAggregationBuffer myagg) {
-      if (myagg.container.contains(p))
-        return;
       Object pCopy = ObjectInspectorUtils.copyToStandardObject(p,
           this.inputOI);
       myagg.container.add(pCopy);



Mime
View raw message