You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Marta Kuczora (Jira)" <ji...@apache.org> on 2020/10/02 09:04:00 UTC

[jira] [Updated] (HIVE-24213) Incorrect exception in the Merge MapJoinTask into its child MapRedTask optimizer

     [ https://issues.apache.org/jira/browse/HIVE-24213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marta Kuczora updated HIVE-24213:
---------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Pushed to master.

Thanks a lot [~zmatyus] for the patch and [~kgyrtkirk] for the review!

> Incorrect exception in the Merge MapJoinTask into its child MapRedTask optimizer
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-24213
>                 URL: https://issues.apache.org/jira/browse/HIVE-24213
>             Project: Hive
>          Issue Type: Bug
>          Components: Physical Optimizer
>    Affects Versions: 4.0.0
>            Reporter: Zoltan Matyus
>            Assignee: Zoltan Matyus
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The {{CommonJoinTaskDispatcher#mergeMapJoinTaskIntoItsChildMapRedTask}} method throws a {{SemanticException}} if the number of {{FileSinkOperator}}s it finds is not exactly 1. The exception is valid if zero operators are found, but there can be valid use cases where multiple FileSinkOperators exist.
> Example: the MapJoin and it child are used in a common table expression, which is used for multiple inserts.



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