[ https://issues.apache.org/jira/browse/HIVE-16809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036048#comment-16036048 ]
Ashutosh Chauhan commented on HIVE-16809: ----------------------------------------- I also ArrayIndexOutOfBoundException for cases where RexCall only has 1 operand. Seems like also need check of if (operands.size() != 2) return op; > Improve filter condition for correlated subqueries > -------------------------------------------------- > > Key: HIVE-16809 > URL: https://issues.apache.org/jira/browse/HIVE-16809 > Project: Hive > Issue Type: Improvement > Reporter: Vineet Garg > Assignee: Vineet Garg > Attachments: HIVE-16809.1.patch, HIVE-16809.2.patch, > HIVE-16809.3.patch > > > A filter condition such as {{col1=col1}} generated during rewrite of > subqueries is not folded/rewritten into {{co1 is not null}}. This messes up > the statistic estimation and could result in bad plans. -- This message was sent by Atlassian JIRA (v6.3.15#6346)