[
https://issues.apache.org/jira/browse/HIVE-7304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048475#comment-14048475
]
Harish Butani commented on HIVE-7304:
-------------------------------------
[~ashutoshc] yes i would prefer committing this one.
Also [~gopalv] pointed out that in the above e.g. 'key is not null' is
useful(performance wise) because the Storage Handler predicate evaluation of
'key < 100' doesn't filter out null valued columns.
> 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
> 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)