You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (JIRA)" <ji...@apache.org> on 2013/08/12 08:57:47 UTC

[jira] [Updated] (HIVE-5062) Insert + orderby + limit does not need additional RS for limiting rows

     [ https://issues.apache.org/jira/browse/HIVE-5062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phabricator updated HIVE-5062:
------------------------------

    Attachment: HIVE-5062.D12171.1.patch

navis requested code review of "HIVE-5062 [jira] Insert + orderby + limit does not need additional RS for limiting rows".

Reviewers: JIRA

HIVE-5062 Insert + orderby + limit does not need additional RS for limiting rows

The query,

insert overwrite table dummy select * from src order by key limit 10;

runs two MR but single MR is enough.

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D12171

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
  ql/src/test/results/clientpositive/insert1_overwrite_partitions.q.out
  ql/src/test/results/clientpositive/insert2_overwrite_partitions.q.out

MANAGE HERALD RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/29067/

To: JIRA, navis

                
> Insert + orderby + limit does not need additional RS for limiting rows
> ----------------------------------------------------------------------
>
>                 Key: HIVE-5062
>                 URL: https://issues.apache.org/jira/browse/HIVE-5062
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: HIVE-5062.D12171.1.patch
>
>
> The query,
> {noformat}
> insert overwrite table dummy select * from src order by key limit 10;
> {noformat}
> runs two MR but single MR is enough.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira