Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Done
-
2.1.0
-
None
-
None
Description
compute_stats() UDF's size estimates only work within the Execution engine, not during optimizer pass.
java.lang.NullPointerException at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFNumericStatsEvaluator$NumericStatsAgg.estimate(GenericUDAFComputeStats.java:434) at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFDoubleStatsEvaluator$DoubleStatsAgg.estimate(GenericUDAFComputeStats.java:643) at org.apache.hadoop.hive.ql.optimizer.stats.annotation.StatsRulesProcFactory$GroupByStatsRule.checkMapSideAggregation(StatsRulesProcFactory.java:996)
Attachments
Issue Links
- is related to
-
HIVE-13021 GenericUDAFEvaluator.isEstimable(agg) always returns false
- Closed
- is superceded by
-
HIVE-13021 GenericUDAFEvaluator.isEstimable(agg) always returns false
- Closed