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

Hive QA commented on HIVE-9618:
-------------------------------



{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/12698317/HIVE-9618.3.patch.txt

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 7540 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority
org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchEmptyCommit
{noformat}

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

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: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12698317 - PreCommit-HIVE-TRUNK-Build

> Deduplicate RS keys for ptf/windowing
> -------------------------------------
>
>                 Key: HIVE-9618
>                 URL: https://issues.apache.org/jira/browse/HIVE-9618
>             Project: Hive
>          Issue Type: Improvement
>          Components: PTF-Windowing
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: HIVE-9618.1.patch.txt, HIVE-9618.2.patch.txt, 
> HIVE-9618.3.patch.txt
>
>
> Currently, partition spec containing same column for partition-by and 
> order-by makes duplicated key column for RS. For example, 
> {noformat}
> explain
> select p_mfgr, p_name, p_size, 
> rank() over (partition by p_mfgr order by p_name) as r, 
> dense_rank() over (partition by p_mfgr order by p_name) as dr, 
> sum(p_retailprice) over (partition by p_mfgr order by p_name rows between 
> unbounded preceding and current row)  as s1
> from noop(on noopwithmap(on noop(on part 
> partition by p_mfgr 
> order by p_mfgr, p_name
> )))
> {noformat}
> "partition by p_mfgr order by p_mfgr, p_name" makes duplicated key columns 
> like below
> {noformat}
> Reduce Output Operator
>     key expressions: p_mfgr (type: string), p_mfgr (type: string), p_name 
> (type: string)
>     sort order: +++
>     Map-reduce partition columns: p_mfgr (type: string)
>     value expressions: p_size (type: int), p_retailprice (type: double)
> {noformat}



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

Reply via email to