hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gop...@apache.org
Subject hive git commit: HIVE-13021: GenericUDAFEvaluator.isEstimable(agg) always returns false (Gopal V, reviewed by Prasanth Jayachandran)
Date Thu, 18 Feb 2016 02:02:59 GMT
Repository: hive
Updated Branches:
  refs/heads/master fd0ee4337 -> 0ac5e632f


HIVE-13021: GenericUDAFEvaluator.isEstimable(agg) always returns false (Gopal V, reviewed
by Prasanth Jayachandran)


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

Branch: refs/heads/master
Commit: 0ac5e632fb09d03a8aebbf28ef3047193b6c3364
Parents: fd0ee43
Author: Gopal V <gopalv@apache.org>
Authored: Wed Feb 17 18:02:48 2016 -0800
Committer: Gopal V <gopalv@apache.org>
Committed: Wed Feb 17 18:02:48 2016 -0800

----------------------------------------------------------------------
 .../apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/0ac5e632/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java
index 4b22a5b..4fc7089 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java
@@ -20,6 +20,8 @@ package org.apache.hadoop.hive.ql.udf.generic;
 
 import java.io.Closeable;
 import java.io.IOException;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 
 import org.apache.hadoop.hive.ql.exec.MapredContext;
 import org.apache.hadoop.hive.ql.metadata.HiveException;
@@ -43,6 +45,7 @@ import org.apache.hive.common.util.AnnotationUtils;
 @UDFType(deterministic = true)
 public abstract class GenericUDAFEvaluator implements Closeable {
 
+  @Retention(RetentionPolicy.RUNTIME)
   public static @interface AggregationType {
     boolean estimable() default false;
   }


Mime
View raw message