[
https://issues.apache.org/jira/browse/HIVE-21928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880873#comment-16880873
]
Jesus Camacho Rodriguez commented on HIVE-21928:
------------------------------------------------
[~kgyrtkirk], could you take a look? Btw, I removed the continue block.
> 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)