hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-7659) Unnecessary sort in query plan [Spark Branch]
Date Fri, 15 Aug 2014 04:54:18 GMT


Hive QA commented on HIVE-7659:

{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 6 failed/errored test(s), 5894 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: 6 tests failed

This message is automatically generated.


> Unnecessary sort in query plan [Spark Branch]
> ---------------------------------------------
>                 Key: HIVE-7659
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Spark
>            Reporter: Rui Li
>            Assignee: Rui Li
>         Attachments: HIVE-7659-spark.patch, HIVE-7659.2-spark.patch
> For hive on spark.
> Currently we rely on the sort order in RS to decide whether we need a sortByKey transformation.
However a simple group by query will also have the sort order set to '+'.
> Consider the query: select key from table group by key. The RS in the map work will have
sort order set to '+', thus requiring a sortByKey shuffle.
> To avoid the unnecessary sort, we should either use another way to decide if there has
to be a sort shuffle, or we should set the sort order only when sort is really needed.

This message was sent by Atlassian JIRA

View raw message