You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "liang yu (Jira)" <ji...@apache.org> on 2023/11/30 09:22:00 UTC
[jira] [Commented] (HIVE-27712) GenericUDAFNumericStatsEvaluator throws NPE
[ https://issues.apache.org/jira/browse/HIVE-27712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791523#comment-17791523 ]
liang yu commented on HIVE-27712:
---------------------------------
Solution:
add an check to verify if variable _'minFieldOI'_ and _'maxFieldOI'_ is null, if null,call _getValueObjectInspector with no arguments._
> GenericUDAFNumericStatsEvaluator throws NPE
> -------------------------------------------
>
> Key: HIVE-27712
> URL: https://issues.apache.org/jira/browse/HIVE-27712
> Project: Hive
> Issue Type: Bug
> Reporter: liang yu
> Assignee: liang yu
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2023-09-19-16-33-49-881.png
>
>
> using Hadoop 3.3.4
> Hive 3.1.3
> when I set the config:
> {code:java}
> set hive.groupby.skewindata=true;
> set hive.map.aggr=true; {code}
> and execute a sql with groupby execution and join execution, I got a NullPointerException below:
>
> !image-2023-09-19-16-33-49-881.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)