hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4240) optimize hive.enforce.bucketing and hive.enforce sorting insert
Date Thu, 04 Apr 2013 23:40:30 GMT

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

Hudson commented on HIVE-4240:
------------------------------

Integrated in Hive-trunk-hadoop2 #138 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/138/])
    HIVE-4240 optimize hive.enforce.bucketing and hive.enforce sorting insert
(Gang Tim Liu via namit) (Revision 1463841)

     Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1463841
Files : 
* /hive/trunk/common/src/java/org/apache/hadoop/hive/common/ObjectPair.java
* /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
* /hive/trunk/conf/hive-default.xml.template
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/TableScanOperator.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/BucketingSortingReduceSinkOptimizer.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/PrunedPartitionList.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/TableScanDesc.java
* /hive/trunk/ql/src/test/queries/clientpositive/smb_mapjoin_18.q
* /hive/trunk/ql/src/test/queries/clientpositive/smb_mapjoin_19.q
* /hive/trunk/ql/src/test/queries/clientpositive/smb_mapjoin_20.q
* /hive/trunk/ql/src/test/queries/clientpositive/smb_mapjoin_21.q
* /hive/trunk/ql/src/test/queries/clientpositive/smb_mapjoin_22.q
* /hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_18.q.out
* /hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_19.q.out
* /hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_20.q.out
* /hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_21.q.out
* /hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_22.q.out

                
> optimize hive.enforce.bucketing and hive.enforce sorting insert
> ---------------------------------------------------------------
>
>                 Key: HIVE-4240
>                 URL: https://issues.apache.org/jira/browse/HIVE-4240
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>             Fix For: 0.11.0
>
>         Attachments: hive.4240.1.patch, hive.4240.2.patch, hive.4240.3.patch, hive.4240.4.patch,
hive.4240.5.patch, hive.4240.5.patch-nohcat
>
>
> Consider the following scenario:
> set hive.optimize.bucketmapjoin = true;
> set hive.optimize.bucketmapjoin.sortedmerge = true;
> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat;
> set hive.enforce.bucketing=true;
> set hive.enforce.sorting=true;
> set hive.exec.reducers.max = 1;
> set hive.merge.mapfiles=false;
> set hive.merge.mapredfiles=false;
> -- Create two bucketed and sorted tables
> CREATE TABLE test_table1 (key INT, value STRING) PARTITIONED BY (ds STRING) CLUSTERED
BY (key) SORTED BY (key) INTO 2 BUCKETS;
> CREATE TABLE test_table2 (key INT, value STRING) PARTITIONED BY (ds STRING) CLUSTERED
BY (key) SORTED BY (key) INTO 2 BUCKETS;
> FROM src
> INSERT OVERWRITE TABLE test_table1 PARTITION (ds = '1') SELECT *;
> -- Insert data into the bucketed table by selecting from another bucketed table
> -- This should be a map-only operation
> INSERT OVERWRITE TABLE test_table2 PARTITION (ds = '1')
> SELECT a.key, a.value FROM test_table1 a WHERE a.ds = '1';
> We should not need a reducer to perform the above operation.

--
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

Mime
View raw message