[
https://issues.apache.org/jira/browse/HIVE-27069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krisztian Kasa resolved HIVE-27069.
-----------------------------------
Resolution: Fixed
Merged to master. Thanks [~Dayakar] for the fix.
> Incorrect results with bucket map join
> --------------------------------------
>
> Key: HIVE-27069
> URL: https://issues.apache.org/jira/browse/HIVE-27069
> Project: Hive
> Issue Type: Bug
> Reporter: Naresh P R
> Assignee: Dayakar M
> Priority: Critical
> Labels: pull-request-available
> Attachments: test.q
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Attaching test.q file for repro.
> Following query in testcase is expected to produce 9 records, but it is
> producing 5 records.
> {code:java}
> select * from DUP_TEST_TARGET T join (SELECT id , in_date , sample FROM
> (SELECT id , in_date , sample ,ROW_NUMBER()
> OVER(PARTITION BY id ORDER BY in_date DESC ) AS ROW_NUMB FROM DUP_TEST)
> OUTQUERY WHERE ROW_NUMB =1) as S ON T.id = S.id;{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)