You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2016/02/20 06:17:18 UTC

[jira] [Resolved] (HIVE-13109) NPE: Fix NDV estimator use within the StatsOptimizer

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

Gopal V resolved HIVE-13109.
----------------------------
    Resolution: Done

> 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)