[ https://issues.apache.org/jira/browse/HIVE-6716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944602#comment-13944602 ]
Hive QA commented on HIVE-6716: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12635937/HIVE-6716.1.patch {color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 5442 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_auto_sortmerge_join_16 org.apache.hive.service.cli.thrift.TestThriftBinaryCLIService.testExecuteStatementAsync {noformat} Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1930/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1930/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 2 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12635937 > ORC struct throws NPE for tables with inner structs having null values > ----------------------------------------------------------------------- > > Key: HIVE-6716 > URL: https://issues.apache.org/jira/browse/HIVE-6716 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0, 0.14.0 > Reporter: Prasanth J > Assignee: Prasanth J > Labels: orcfile > Attachments: HIVE-6716.1.patch > > > ORCStruct should return null when object passed to > getStructFieldsDataAsList(Object obj) is null. > {code} > public List<Object> getStructFieldsDataAsList(Object object) { > OrcStruct struct = (OrcStruct) object; > List<Object> result = new ArrayList<Object>(struct.fields.length); > {code} > In the above code struct.fields will throw NPE if struct is NULL. -- This message was sent by Atlassian JIRA (v6.2#6252)