hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2466) mapjoin_subquery dump small table (mapjoin table) to the same file
Date Mon, 07 Nov 2011 18:10:54 GMT

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

Phabricator updated HIVE-2466:
------------------------------

    Attachment: D285.2.patch

njain updated the revision "HIVE-2466 [jira] mapjoin_subquery  dump small table (mapjoin table)
to the same file".
Reviewers: JIRA

  HIVE-2466

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

AFFECTED FILES
  data/files/x.txt
  data/files/y.txt
  data/files/z.txt
  ql/src/test/results/clientpositive/mapjoin_subquery2.q.out
  ql/src/test/queries/clientpositive/mapjoin_subquery2.q
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/GenMRSkewJoinProcessor.java
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/MapJoinProcessor.java
  ql/src/java/org/apache/hadoop/hive/ql/exec/HashTableSinkOperator.java
  ql/src/java/org/apache/hadoop/hive/ql/exec/MapredLocalTask.java
  ql/src/java/org/apache/hadoop/hive/ql/exec/MapJoinOperator.java
  ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/HashTableSinkDesc.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/PlanUtils.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/MapJoinDesc.java

                
> mapjoin_subquery  dump small table (mapjoin table) to the same file
> -------------------------------------------------------------------
>
>                 Key: HIVE-2466
>                 URL: https://issues.apache.org/jira/browse/HIVE-2466
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.1
>            Reporter: binlijin
>            Assignee: binlijin
>            Priority: Critical
>         Attachments: D285.1.patch, D285.2.patch, hive-2466.1.patch, hive-2466.2.patch,
hive-2466.3.patch, hive-2466.4.patch
>
>
> in mapjoin_subquery.q  there is a query´╝Ü
> SELECT /*+ MAPJOIN(z) */ subq.key1, z.value
> FROM
> (SELECT /*+ MAPJOIN(x) */ x.key as key1, x.value as value1, y.key as key2, y.value as
value2 
>  FROM src1 x JOIN src y ON (x.key = y.key)) subq
>  JOIN srcpart z ON (subq.key1 = z.key and z.ds='2008-04-08' and z.hr=11);
> when dump x and z to a local file,there all dump to the same file, so we lost the data
of x

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message