You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (Jira)" <ji...@apache.org> on 2019/10/01 17:02:00 UTC

[jira] [Commented] (HIVE-22252) Fix caught NullPointerExceptions generated during EXPLAIN

    [ https://issues.apache.org/jira/browse/HIVE-22252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16942151#comment-16942151 ] 

Jesus Camacho Rodriguez commented on HIVE-22252:
------------------------------------------------

+1 (pending tests)

> Fix caught NullPointerExceptions generated during EXPLAIN
> ---------------------------------------------------------
>
>                 Key: HIVE-22252
>                 URL: https://issues.apache.org/jira/browse/HIVE-22252
>             Project: Hive
>          Issue Type: Bug
>            Reporter: John Sherman
>            Assignee: John Sherman
>            Priority: Minor
>         Attachments: HIVE-22252.1.patch
>
>
> While debugging an issue I noticed that during EXPLAIN the following methods throw a NullPointerException:
> VectorColumnOutputMapping::finalize
> AbstractOperatorDesc::getUserLevelStatistics
> AbstractOperatorDesc::getColumnExprMapForExplain
> The exceptions do end up getting caught but we should add null checks and gracefully to be less wasteful and to aid future debugging.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)