You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2015/06/17 17:58:00 UTC

[jira] [Updated] (HIVE-11035) PPD: Orc Split elimination fails because filterColumns=[-1]

     [ https://issues.apache.org/jira/browse/HIVE-11035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gopal V updated HIVE-11035:
---------------------------
    Affects Version/s: 2.0.0
                       1.3.0
                       1.2.0

> 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
>    Affects Versions: 1.2.0, 1.3.0, 2.0.0
>            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)