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

Gopal V commented on HIVE-21834:
--------------------------------

LGTM - +1

The simplify is doing the AND rotations or is there any code to reorder AND 
clauses explicity?

> Avoid unnecessary calls to simplify filter conditions
> -----------------------------------------------------
>
>                 Key: HIVE-21834
>                 URL: https://issues.apache.org/jira/browse/HIVE-21834
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: HIVE-21834.01.patch, HIVE-21834.patch
>
>
> Every time we create a filter, we try to simplify its condition. However, we 
> already have a rule that simplifies the expressions and it is within the same 
> loop as most of the rules that end up creating new filters. Hence, it may 
> seem like we could remove some of the calls to simplify those conditions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to