[ https://issues.apache.org/jira/browse/HIVE-8793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204214#comment-14204214 ]
Chao commented on HIVE-8793: ---------------------------- [~xuefuz] Yes, doing HIVE-8118 before map-join may solve the issue. But, currently the multi-insertion code is intertwined with SparkPlan and SparkTrans, so we need to split it from these. It would be nice if we can make multi-insertion a physical optimizer triggered before SparkMapJoinResolver. > Make sure multi-insert works with map join [Spark Branch] > --------------------------------------------------------- > > Key: HIVE-8793 > URL: https://issues.apache.org/jira/browse/HIVE-8793 > Project: Hive > Issue Type: Task > Components: Spark > Affects Versions: spark-branch > Reporter: Chao > > Currently, HIVE-8622 is implemented based on an assumption, that for a map > join query, a BaseWork would not have multiple children. By testing through > subquery_multiinsert.q did reveal that's the case. But, we need to > investigate on this, and make sure this won't happen in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)