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

John Sherman updated HIVE-22252:
--------------------------------
    Attachment: HIVE-22252.4.patch

> 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
>              Labels: pull-request-available
>         Attachments: HIVE-22252.1.patch, HIVE-22252.2.patch, 
> HIVE-22252.3.patch, HIVE-22252.4.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to