[ 
https://issues.apache.org/jira/browse/HIVE-22074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912877#comment-16912877
 ] 

Jesus Camacho Rodriguez commented on HIVE-22074:
------------------------------------------------

+1 (pending tests)

> Slow compilation due to IN to OR transformation
> -----------------------------------------------
>
>                 Key: HIVE-22074
>                 URL: https://issues.apache.org/jira/browse/HIVE-22074
>             Project: Hive
>          Issue Type: Improvement
>          Components: Logical Optimizer
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22074.1.patch, HIVE-22074.2.patch, 
> HIVE-22074.3.patch, HIVE-22074.4.patch, HIVE-22074.5.patch
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Currently Hive transform IN expressions to OR to apply various CBO rules. 
> This incur significant performance hit if IN consist of large number of 
> expressions. 
> It is better to not transform IN expressions to OR in such cases because 
> overall benefit of various optimizations/transformations is unrealized due to 
> the compilation overhead



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to