hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-18140) Partitioned tables statistics can go wrong in basic stats mixed case
Date Wed, 06 Jun 2018 07:46:00 GMT

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

Hive QA commented on HIVE-18140:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12926312/HIVE-19727.02wip03.patch

{color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 14469 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/11550/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11550/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11550/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12926312 - PreCommit-HIVE-Build

> Partitioned tables statistics can go wrong in basic stats mixed case
> --------------------------------------------------------------------
>
>                 Key: HIVE-18140
>                 URL: https://issues.apache.org/jira/browse/HIVE-18140
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-18140.01.patch, HIVE-18140.01wip01.patch, HIVE-18140.01wip03.patch,
HIVE-18140.01wip04.patch, HIVE-18140.02wip01.patch, HIVE-19140.02wip02.patch, HIVE-19727.02wip03.patch
>
>
> suppose the following scenario:
> * part1 has basic stats {{RC=10,DS=1K}}
> * all other partition has no basic stats (and a bunch of rows)
> then [this|https://github.com/apache/hive/blob/d9924ab3e285536f7e2cc15ecbea36a78c59c66d/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java#L378]
condition would be false; which in turn produces estimations for the whole partitioned table:
{{RC=10,DS=1K}}



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

Mime
View raw message