[ 
https://issues.apache.org/jira/browse/HIVE-13109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gopal V updated HIVE-13109:
---------------------------
    Fix Version/s: 1.3.0

> 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: 1.3.0, 2.1.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>             Fix For: 1.3.0, 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)

Reply via email to