hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth J (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7734) Join stats annotation rule is not updating columns statistics correctly
Date Tue, 19 Aug 2014 00:05:18 GMT

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

Prasanth J updated HIVE-7734:
-----------------------------

    Attachment: HIVE-7734.2.patch

Added Brock's review comments.

> Join stats annotation rule is not updating columns statistics correctly
> -----------------------------------------------------------------------
>
>                 Key: HIVE-7734
>                 URL: https://issues.apache.org/jira/browse/HIVE-7734
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Query Processor, Statistics
>    Affects Versions: 0.14.0
>            Reporter: Prasanth J
>            Assignee: Prasanth J
>             Fix For: 0.13.0
>
>         Attachments: HIVE-7734.1.patch, HIVE-7734.2.patch
>
>
> HIVE-7679 is not doing the correct thing. The scale down/up factor updating column stats
was wrong as ratio = newRowCount/oldRowCount is always infinite (oldRowCount = 0). The old
row count should be retrieved from parent corresponding to the current column whose statistics
is being updated.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message