hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16809) Improve filter condition for correlated subqueries
Date Sat, 03 Jun 2017 19:10:04 GMT

    [ 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)

Mime
View raw message