[ https://issues.apache.org/jira/browse/HIVE-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843451#comment-13843451 ]
Hive QA commented on HIVE-5986: ------------------------------- {color:green}Overall{color}: +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12617872/HIVE-5986.2.patch {color:green}SUCCESS:{color} +1 4761 tests passed Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/581/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/581/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12617872 > ORC SARG evaluation fails with NPE for UDFs or expressions in predicate > condition > --------------------------------------------------------------------------------- > > Key: HIVE-5986 > URL: https://issues.apache.org/jira/browse/HIVE-5986 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Prasanth J > Assignee: Prasanth J > Labels: orcfile > Attachments: HIVE-5986.1.patch, HIVE-5986.2.patch > > > {code}select s from orctable where length(substr(s, 1, 2)) <= 2 and s like > '%';{code} kind of queries generate empty child expressions for the operator > (AND in this case). When child expressions are empty evaluate(TruthValue[] > leaves) functions returns null which results in NPE during orc split > elimination or row group elimination. -- This message was sent by Atlassian JIRA (v6.1.4#6159)