hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vineet Garg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
Date Sun, 03 Dec 2017 05:34:01 GMT

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

Vineet Garg updated HIVE-18173:
-------------------------------
    Attachment: HIVE-18173.4.patch

> Improve plans for correlated subqueries with non-equi predicate
> ---------------------------------------------------------------
>
>                 Key: HIVE-18173
>                 URL: https://issues.apache.org/jira/browse/HIVE-18173
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Planning
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>         Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch, HIVE-18173.3.patch, HIVE-18173.4.patch
>
>
> HIVE-17767 optimized plan to not generate value generator (i.e. an extra join with outer
query to fetch correlated columns) for EQUAL and NOT EQUAL predicates e.g.
> {code:sql}
> select * from src b where b.key in (select key from src a where b.value <> a.value)
> {code}
> This should be improved and implemented for rest of the predicates e.g. LESS THAN etc



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message