You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zoltan Matyus (Jira)" <ji...@apache.org> on 2020/09/30 11:13:00 UTC

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

Zoltan Matyus created HIVE-24213:
------------------------------------

             Summary: 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


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)