hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-3315) Propagates filters which are on the join condition transitively
Date Tue, 25 Sep 2012 00:10:07 GMT

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

Phabricator updated HIVE-3315:
------------------------------

    Attachment: HIVE-3315.D4497.5.patch

navis updated the revision "HIVE-3315 [jira] Propagate filers on inner join condition transitively".
Reviewers: JIRA

  1. Simplified code
  2. Support propagating filter on outer join condition


REVISION DETAIL
  https://reviews.facebook.net/D4497

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeDescUtils.java
  ql/src/java/org/apache/hadoop/hive/ql/ppd/OpProcFactory.java
  ql/src/java/org/apache/hadoop/hive/ql/ppd/PredicateTransitivePropagate.java
  ql/src/test/queries/clientpositive/join_nullsafe.q
  ql/src/test/results/clientpositive/auto_join11.q.out
  ql/src/test/results/clientpositive/auto_join12.q.out
  ql/src/test/results/clientpositive/auto_join13.q.out
  ql/src/test/results/clientpositive/auto_join14.q.out
  ql/src/test/results/clientpositive/auto_join16.q.out
  ql/src/test/results/clientpositive/auto_join20.q.out
  ql/src/test/results/clientpositive/auto_join27.q.out
  ql/src/test/results/clientpositive/auto_join28.q.out
  ql/src/test/results/clientpositive/auto_join29.q.out
  ql/src/test/results/clientpositive/bucket_map_join_1.q.out
  ql/src/test/results/clientpositive/bucket_map_join_2.q.out
  ql/src/test/results/clientpositive/filter_join_breaktask.q.out
  ql/src/test/results/clientpositive/join11.q.out
  ql/src/test/results/clientpositive/join12.q.out
  ql/src/test/results/clientpositive/join13.q.out
  ql/src/test/results/clientpositive/join14.q.out
  ql/src/test/results/clientpositive/join16.q.out
  ql/src/test/results/clientpositive/join20.q.out
  ql/src/test/results/clientpositive/join40.q.out
  ql/src/test/results/clientpositive/join_nullsafe.q.out
  ql/src/test/results/clientpositive/mapjoin_filter_on_outerjoin.q.out
  ql/src/test/results/clientpositive/ppd_gby_join.q.out
  ql/src/test/results/clientpositive/ppd_join.q.out
  ql/src/test/results/clientpositive/ppd_join2.q.out
  ql/src/test/results/clientpositive/ppd_join3.q.out
  ql/src/test/results/clientpositive/regex_col.q.out
  ql/src/test/results/clientpositive/skewjoin.q.out
  ql/src/test/results/clientpositive/skewjoinopt1.q.out
  ql/src/test/results/clientpositive/skewjoinopt10.q.out
  ql/src/test/results/clientpositive/skewjoinopt15.q.out
  ql/src/test/results/clientpositive/skewjoinopt16.q.out
  ql/src/test/results/clientpositive/skewjoinopt17.q.out
  ql/src/test/results/clientpositive/skewjoinopt19.q.out
  ql/src/test/results/clientpositive/skewjoinopt2.q.out
  ql/src/test/results/clientpositive/skewjoinopt20.q.out
  ql/src/test/results/clientpositive/skewjoinopt3.q.out
  ql/src/test/results/clientpositive/skewjoinopt4.q.out
  ql/src/test/results/clientpositive/skewjoinopt5.q.out

To: JIRA, navis
Cc: njain

                
> Propagates filters which are on the join condition transitively 
> ----------------------------------------------------------------
>
>                 Key: HIVE-3315
>                 URL: https://issues.apache.org/jira/browse/HIVE-3315
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-3315.1.patch.txt, HIVE-3315.2.patch.txt, HIVE-3315.3.patch.txt,
HIVE-3315.D4497.5.patch, HIVE-3315.D4497.6.patch
>
>
> explain select src1.key from src src1 join src src2 on src1.key=src2.key and src1.key
< 100;
> In this case, filter on join condition src1.key < 100 can be propagated transitively
to src2 by src2.key < 100. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message