You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by at...@apache.org on 2009/03/17 02:00:57 UTC

svn commit: r755059 - in /hadoop/hive/trunk: CHANGES.txt ql/src/test/queries/clientpositive/union3.q ql/src/test/results/clientpositive/union3.q.out

Author: athusoo
Date: Tue Mar 17 01:00:56 2009
New Revision: 755059

URL: http://svn.apache.org/viewvc?rev=755059&view=rev
Log:
HIVE-334. Make union3 test output deterministic.
(Joydeep Sen Sarma via athusoo)


Modified:
    hadoop/hive/trunk/CHANGES.txt
    hadoop/hive/trunk/ql/src/test/queries/clientpositive/union3.q
    hadoop/hive/trunk/ql/src/test/results/clientpositive/union3.q.out

Modified: hadoop/hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/CHANGES.txt?rev=755059&r1=755058&r2=755059&view=diff
==============================================================================
--- hadoop/hive/trunk/CHANGES.txt (original)
+++ hadoop/hive/trunk/CHANGES.txt Tue Mar 17 01:00:56 2009
@@ -31,6 +31,9 @@
     HIVE-327. Fix row counts printed in hive history to reflect the
     count of rows from the query in the session. (Suresh Anthony via athusoo)
 
+    HIVE-334. Make union3 test output deterministic.
+    (Joydeep Sen Sarma via athusoo)
+
 Release 0.2.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hive/trunk/ql/src/test/queries/clientpositive/union3.q
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/queries/clientpositive/union3.q?rev=755059&r1=755058&r2=755059&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/queries/clientpositive/union3.q (original)
+++ hadoop/hive/trunk/ql/src/test/queries/clientpositive/union3.q Tue Mar 17 01:00:56 2009
@@ -16,7 +16,9 @@
   FROM (SELECT * FROM src LIMIT 1) s2
 ) a;
 
+CREATE TABLE union_out (id int);
 
+insert overwrite table union_out 
 SELECT *
 FROM (
   SELECT 1 AS id
@@ -33,3 +35,5 @@
   SELECT 4 AS id
   FROM (SELECT * FROM src LIMIT 1) s2
 ) a;
+
+select * from union_out cluster by id;

Modified: hadoop/hive/trunk/ql/src/test/results/clientpositive/union3.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/union3.q.out?rev=755059&r1=755058&r2=755059&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/union3.q.out (original)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/union3.q.out Tue Mar 17 01:00:56 2009
@@ -48,7 +48,7 @@
   Stage: Stage-2
     Map Reduce
       Alias -> Map Operator Tree:
-        /data/users/zshao/sync/apache-trunk-HIVE-308/build/ql/tmp/249317218/968169738.10002 
+        /mnt/vol/devrs004.snc1/jssarma/projects/hive_patches/build/ql/tmp/1045942737/136575081.10002 
           Reduce Output Operator
             key expressions:
                   expr: 0
@@ -148,7 +148,7 @@
   Stage: Stage-5
     Map Reduce
       Alias -> Map Operator Tree:
-        /data/users/zshao/sync/apache-trunk-HIVE-308/build/ql/tmp/249317218/968169738.10003 
+        /mnt/vol/devrs004.snc1/jssarma/projects/hive_patches/build/ql/tmp/1045942737/136575081.10003 
           Reduce Output Operator
             key expressions:
                   expr: 0
@@ -216,7 +216,7 @@
       limit: -1
 
 
+1
+2
 3
 4
-2
-1