[ https://issues.apache.org/jira/browse/HIVE-22252?focusedWorklogId=324802&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-324802 ]
ASF GitHub Bot logged work on HIVE-22252: ----------------------------------------- Author: ASF GitHub Bot Created on: 08/Oct/19 01:50 Start Date: 08/Oct/19 01:50 Worklog Time Spent: 10m Work Description: jcamachor commented on pull request #799: HIVE-22252: Fix caught NullPointerExceptions generated during EXPLAIN URL: https://github.com/apache/hive/pull/799 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 324802) Time Spent: 20m (was: 10m) > 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: 20m > 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)