hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-9618) Deduplicate RS keys for ptf/windowing
Date Mon, 09 Feb 2015 22:57:35 GMT


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:

{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 7531 tests executed
*Failed tests:*

Test results:
Console output:
Test logs:

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: 7 tests failed

This message is automatically generated.

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

> Deduplicate RS keys for ptf/windowing
> -------------------------------------
>                 Key: HIVE-9618
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: PTF-Windowing
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: HIVE-9618.1.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

View raw message