hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5986) ORC SARG evaluation fails with NPE for UDFs or expressions in predicate condition
Date Mon, 09 Dec 2013 09:18:08 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843000#comment-13843000
] 

Hive QA commented on HIVE-5986:
-------------------------------



{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/12617784/HIVE-5986.1.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 4761 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.ql.io.sarg.TestSearchArgumentImpl.testExpression9
{noformat}

Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/573/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/573/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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12617784

> 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
>
>
> {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)

Mime
View raw message