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

Reply via email to