[ https://issues.apache.org/jira/browse/HIVE-16653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16007182#comment-16007182 ]
Vineet Garg commented on HIVE-16653: ------------------------------------ {code} if (stack.size() < 2 || !(stack.get(stack.size() - 2) instanceof DummyStoreOperator)) {code} If stack happens to be empty (not sure if it could be) second condition will throw an error. May be it is a good idea to check/assert if stack is not empty. > Mergejoin should give itself a correct tag > ------------------------------------------ > > Key: HIVE-16653 > URL: https://issues.apache.org/jira/browse/HIVE-16653 > Project: Hive > Issue Type: Sub-task > Reporter: Pengcheng Xiong > Assignee: Pengcheng Xiong > Attachments: HIVE-16653.01.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)