[ 
https://issues.apache.org/jira/browse/HIVE-12478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106772#comment-15106772
 ] 

Jesus Camacho Rodriguez commented on HIVE-12478:
------------------------------------------------

[~jpullokkaran], could you take a look at the current version of the patch?

Finally, I had to store state about transitive inference in the operator 
itself, it was the only reasonable way of implementing exhaustive PPD, 
inference and constant propagation using HepPlanner.

> Improve Hive/Calcite Trasitive Predicate inference
> --------------------------------------------------
>
>                 Key: HIVE-12478
>                 URL: https://issues.apache.org/jira/browse/HIVE-12478
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Laljo John Pullokkaran
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-12478.01.patch, HIVE-12478.02.patch, 
> HIVE-12478.03.patch, HIVE-12478.04.patch, HIVE-12478.05.patch, 
> HIVE-12478.06.patch, HIVE-12478.07.patch, HIVE-12478.08.patch, 
> HIVE-12478.patch
>
>
> HiveJoinPushTransitivePredicatesRule does not pull up predicates for 
> transitive inference if they contain more than one column.
> EXPLAIN select * from srcpart join (select ds as ds, ds as `date` from 
> srcpart where  (ds = '2008-04-08' and value=1)) s on (srcpart.ds = s.ds);



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

Reply via email to