[ https://issues.apache.org/jira/browse/HIVE-15839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860587#comment-15860587 ]
Eugene Koifman commented on HIVE-15839: --------------------------------------- local branch HIVE-15871 > Don't force cardinality check if only WHEN NOT MATCHED is specified > ------------------------------------------------------------------- > > Key: HIVE-15839 > URL: https://issues.apache.org/jira/browse/HIVE-15839 > Project: Hive > Issue Type: Sub-task > Components: Query Planning, Query Processor, Transactions > Affects Versions: 2.2.0 > Reporter: Eugene Koifman > Priority: Minor > > should've been part of HIVE-14949 > if only WHEN NOT MATCHED is specified then the join is basically an anti-join > and we are not retrieving any values from target side. So the cardinality > check is just overhead (though presumably very minor since the filter above > the join will filter everything and thus there is nothing to group) -- This message was sent by Atlassian JIRA (v6.3.15#6346)