You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2016/02/20 05:39:18 UTC
[jira] [Created] (HIVE-13109) NPE: Fix NDV estimator use within the
StatsOptimizer
Gopal V created HIVE-13109:
------------------------------
Summary: NPE: Fix NDV estimator use within the StatsOptimizer
Key: HIVE-13109
URL: https://issues.apache.org/jira/browse/HIVE-13109
Project: Hive
Issue Type: Bug
Components: Statistics
Affects Versions: 2.1.0
Reporter: Gopal V
Assignee: Gopal V
Fix For: 2.1.0
compute_stats() UDF's size estimates only work within the Execution engine, not during optimizer pass.
{code}
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)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)