[ 
https://issues.apache.org/jira/browse/HIVE-21928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesus Camacho Rodriguez updated HIVE-21928:
-------------------------------------------
    Attachment: HIVE-21928.02.patch

> Fix for statistics annotation in nested AND expressions
> -------------------------------------------------------
>
>                 Key: HIVE-21928
>                 URL: https://issues.apache.org/jira/browse/HIVE-21928
>             Project: Hive
>          Issue Type: Bug
>          Components: Physical Optimizer
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Critical
>              Labels: pull-request-available
>         Attachments: HIVE-21928.01.patch, HIVE-21928.01.patch, 
> HIVE-21928.02.patch, HIVE-21928.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Discovered while working on HIVE-21867. Having predicates with nested AND 
> expressions may result in different stats, even if predicates are basically 
> similar (from stats estimation standpoint).
> For instance, stats for {{AND(x=5, true, true)}} are different from {{x=5}}.



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

Reply via email to