[
https://issues.apache.org/jira/browse/HIVE-22252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesus Camacho Rodriguez updated HIVE-22252:
-------------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
Pushed to master, thanks [~jfs]!
> 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
> Fix For: 4.0.0
>
> 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)