hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laljo John Pullokkaran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12021) HivePreFilteringRule may introduce wrong common operands
Date Thu, 08 Oct 2015 02:31:27 GMT

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

Laljo John Pullokkaran commented on HIVE-12021:
-----------------------------------------------

The multi map should also get pruned.
Consider the following case:
(x=f(y) and x=10 and expr1) or (x=10 and expr2)

The multi-map "reductionCondition" will contain both 1) "x=10" and 2) x=f(y)

However x=f(y) is not present in all DNF elements.

One may argue transitive effects (i.e x=f(y) should also be right since we have x=10); i think
its brittle to leave multi map entries unchanged.

> HivePreFilteringRule may introduce wrong common operands
> --------------------------------------------------------
>
>                 Key: HIVE-12021
>                 URL: https://issues.apache.org/jira/browse/HIVE-12021
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 1.3.0, 1.2.1, 2.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>             Fix For: 1.3.0, 2.0.0, 1.2.2
>
>         Attachments: HIVE-12021.01.patch, HIVE-12021.02.patch, HIVE-12021.02.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message