[
https://issues.apache.org/jira/browse/HIVE-27069?focusedWorklogId=856736&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-856736
]
ASF GitHub Bot logged work on HIVE-27069:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Apr/23 12:14
Start Date: 13/Apr/23 12:14
Worklog Time Spent: 10m
Work Description: kasakrisz commented on PR #4231:
URL: https://github.com/apache/hive/pull/4231#issuecomment-1506861714
@mdayakar
Could you please elaborate a bit the root cause of the issue and why/how
does this patch fix it?
Issue Time Tracking
-------------------
Worklog Id: (was: 856736)
Time Spent: 20m (was: 10m)
> 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: 20m
> 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)