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

xiatch updated HIVE-8888:
-------------------------
    Affects Version/s:     (was: 3.0.0)

> Mapjoin with LateralViewJoin generates wrong plan in Tez
> --------------------------------------------------------
>
>                 Key: HIVE-8888
>                 URL: https://issues.apache.org/jira/browse/HIVE-8888
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.15.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>             Fix For: 1.0.0
>
>         Attachments: HIVE-8888-branch.5.patch, HIVE-8888.1.patch, 
> HIVE-8888.2.patch, HIVE-8888.3.patch, HIVE-8888.4.patch, HIVE-8888.5.patch
>
>
> Queries like these 
> {code}
> with sub1 as
> (select aid, avalue from expod1 lateral view explode(av) avs as avalue ),
> sub2 as
> (select bid, bvalue from expod2 lateral view explode(bv) bvs as bvalue)
> select sub1.aid, sub1.avalue, sub2.bvalue
> from sub1,sub2
> where sub1.aid=sub2.bid;
> {code}
> generates twice the number of rows in Tez when compared to MR.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to