You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth J (JIRA)" <ji...@apache.org> on 2013/12/09 07:00:11 UTC

[jira] [Created] (HIVE-5986) ORC SARG evaluation fails with NPE for UDFs or expressions in predicate condition

Prasanth J created HIVE-5986:
--------------------------------

             Summary: 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


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