You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/04/13 12:05:00 UTC
[jira] [Updated] (HIVE-27069) Incorrect results with bucket map join
[ https://issues.apache.org/jira/browse/HIVE-27069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-27069:
----------------------------------
Labels: pull-request-available (was: )
> 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: 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)