[ https://issues.apache.org/jira/browse/HIVE-27069?focusedWorklogId=856921&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-856921 ]
ASF GitHub Bot logged work on HIVE-27069: ----------------------------------------- Author: ASF GitHub Bot Created on: 13/Apr/23 22:04 Start Date: 13/Apr/23 22:04 Worklog Time Spent: 10m Work Description: sonarcloud[bot] commented on PR #4231: URL: https://github.com/apache/hive/pull/4231#issuecomment-1507662760 Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=4231) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4231&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4231&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4231&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4231&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4231&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4231&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4231&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4231&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4231&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4231&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4231&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4231&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4231&metric=coverage&view=list) No Coverage information [](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4231&metric=duplicated_lines_density&view=list) No Duplication information Issue Time Tracking ------------------- Worklog Id: (was: 856921) Time Spent: 0.5h (was: 20m) > 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: 0.5h > 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)