hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21834) Avoid unnecessary calls to simplify filter conditions
Date Wed, 05 Jun 2019 17:53:00 GMT

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

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

bq. The simplify is doing the AND rotations or is there any code to reorder AND clauses explicity?
No, there is nothing that reorders them with a certain purpose, e.g., the selectivity of conjunct,
though it would be nice to have.

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

Mime
View raw message