You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2016/03/09 04:16:40 UTC

[jira] [Commented] (HIVE-13233) Use min and max values to estimate better stats for comparison operators

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

Ashutosh Chauhan commented on HIVE-13233:
-----------------------------------------

This is only taking into account >=  , >  What about other arithmetic expressions like <= , < . 
Also, we need recursive implementation for nested expressions.

> Use min and max values to estimate better stats for comparison operators
> ------------------------------------------------------------------------
>
>                 Key: HIVE-13233
>                 URL: https://issues.apache.org/jira/browse/HIVE-13233
>             Project: Hive
>          Issue Type: Bug
>          Components: Statistics
>    Affects Versions: 2.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-13233.patch
>
>
> We should benefit from the min/max values for each column to calculate more precisely the number of rows produced by expressions with comparison operators



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