You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/07/01 06:04:24 UTC

[jira] [Updated] (HIVE-7304) Transitive Predicate Propagation doesn't happen properly after HIVE-7159

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

Ashutosh Chauhan updated HIVE-7304:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.14.0
           Status: Resolved  (was: Patch Available)

I see. In those cases, storage handler should be able to make that kind of inference itself. Storage handler need not to be told from planner that it can extend filters (as evident in this example) itself.

Anyways, committed this one to trunk. Thanks, Harish!

> Transitive Predicate Propagation doesn't happen properly after HIVE-7159
> ------------------------------------------------------------------------
>
>                 Key: HIVE-7304
>                 URL: https://issues.apache.org/jira/browse/HIVE-7304
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Harish Butani
>            Assignee: Harish Butani
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7304.1.patch, HIVE-7304.2.patch
>
>
> The reason for the regression is that PredicateTransitivePropagate looks at the FilterOperator below the ReduceSink. 
> SemanticAnalyzer::genNotNullFilterForJoinSourcePlan was stacking another FilterOp for the not null check, so only that predicate was being applied transitively by PredicateTransitivePropagate.



--
This message was sent by Atlassian JIRA
(v6.2#6252)