[ https://issues.apache.org/jira/browse/HIVE-22252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Sherman updated HIVE-22252: -------------------------------- Description: 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. was: 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. > 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)