[ https://issues.apache.org/jira/browse/HIVE-24213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Matyus updated HIVE-24213: --------------------------------- Attachment: HIVE-24213.patch > 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 > Attachments: HIVE-24213.patch > > > 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)