hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-24609) Fix ArrayIndexOutOfBoundsException when execute full outer join
Date Fri, 02 Jul 2021 14:42:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-24609?focusedWorklogId=618137&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-618137
]

ASF GitHub Bot logged work on HIVE-24609:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Jul/21 14:41
            Start Date: 02/Jul/21 14:41
    Worklog Time Spent: 10m 
      Work Description: ashish-kumar-sharma commented on a change in pull request #1844:
URL: https://github.com/apache/hive/pull/1844#discussion_r663063144



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConvertJoinMapJoin.java
##########
@@ -1629,6 +1629,9 @@ private boolean checkShuffleSizeForLargeTable(JoinOperator joinOp, int
position,
       // Max is disabled, we can safely return false
       return false;
     }
+    if(position < 0){

Review comment:
       @lijufeng2016 Please reopen the PR. Also add a UTs and qtest




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 618137)
    Time Spent: 1h  (was: 50m)

> Fix ArrayIndexOutOfBoundsException when execute full outer join
> ---------------------------------------------------------------
>
>                 Key: HIVE-24609
>                 URL: https://issues.apache.org/jira/browse/HIVE-24609
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 3.1.0
>            Reporter: jufeng li
>            Assignee: Printer Setup
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> here is my hive-sql:
> {code:java}
> select 
> ......
>  from A 
>  full outer join B on A.id = B.id
> {code}
>  
> It can not be execute,I got an ArrayIndexOutOfBoundsException.Then I debug HiveServer2,found
when compile sql in some situation and contains full outer join,there is an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message