[ https://issues.apache.org/jira/browse/HIVE-22252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943394#comment-16943394 ]
Hive QA commented on HIVE-22252: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12982024/HIVE-22252.3.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 17168 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[infer_bucket_sort_num_buckets] (batchId=67) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[rcfile_merge2] (batchId=159) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[materialized_view_partitioned] (batchId=186) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[partition_ctas] (batchId=173) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[infer_bucket_sort_num_buckets] (batchId=194) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[load_dyn_part2] (batchId=140) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoveryTransactionalTable (batchId=223) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/18842/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18842/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18842/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 7 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12982024 - PreCommit-HIVE-Build > 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 > > 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)