hive-dev 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-7744) In Windowing Streaming mode Avg and Sum give incorrect results when Wdw size is same as partition size
Date Sat, 16 Aug 2014 02:46:18 GMT

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

Hive QA commented on HIVE-7744:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

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

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 5815 tests executed
*Failed tests:*
{noformat}
org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/355/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/355/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-355/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12662215

> In Windowing Streaming mode Avg and Sum give incorrect results when Wdw size is same
as partition size
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-7744
>                 URL: https://issues.apache.org/jira/browse/HIVE-7744
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Harish Butani
>            Assignee: Harish Butani
>         Attachments: HIVE-7744.1.patch
>
>
> For e.g. following query:
> {code}
> select p_retailprice, avg(p_retailprice) over (partition by p_mfgr order by p_name rows
between current row and 6 following), 
> sum(p_retailprice) over (partition by p_mfgr order by p_name rows between current row
and 6 following) 
> from part 
> where p_mfgr='Manufacturer#1'
> {code}
> returns
> {code}
> 1173.15	1458.2883333333336	8749.730000000001
> 1173.15	1458.2883333333336	8749.730000000001
> 1753.76	1458.2883333333336	8749.730000000001
> 1602.59	1458.2883333333336	8749.730000000001
> 1414.42	1458.2883333333336	8749.730000000001
> 1632.66	1458.2883333333336	8749.730000000001
> {code}



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

Mime
View raw message