Gopal V created HIVE-11035:
------------------------------

             Summary: PPD: Orc Split elimination fails because 
filterColumns=[-1]
                 Key: HIVE-11035
                 URL: https://issues.apache.org/jira/browse/HIVE-11035
             Project: Hive
          Issue Type: Bug
            Reporter: Gopal V


{code}
create temporary table xx (x int) stored as orc ;
insert into xx values (20),(200);
set hive.fetch.task.conversion=none;
select * from xx where x is null;
{code}

This should generate zero tasks after optional split elimination in the app 
master, instead of generating the 1 task which for sure hits the row-index 
filters and removes all rows anyway.

Right now, this runs 1 task for the stripe containing (min=20, max=200, 
has_null=false), which is broken.

Instead, it returns YES_NO_NULL from the following default case

https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java#L976



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to