FAQ
Author: hashutosh
Date: Wed Nov 28 00:57:16 2012
New Revision: 1414488

URL: http://svn.apache.org/viewvc?rev=1414488&view=rev
Log:
HIVE-3749 : New test cases added by HIVE-3676 in insert1.q is not deterministic (Navis via Ashutosh Chauhan)

Modified:
hive/trunk/ql/src/test/queries/clientpositive/insert1.q
hive/trunk/ql/src/test/results/clientpositive/insert1.q.out

Modified: hive/trunk/ql/src/test/queries/clientpositive/insert1.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientpositive/insert1.q?rev=1414488&r1=1414487&r2=1414488&view=diff
==============================================================================
--- hive/trunk/ql/src/test/queries/clientpositive/insert1.q (original)
+++ hive/trunk/ql/src/test/queries/clientpositive/insert1.q Wed Nov 28 00:57:16 2012
@@ -26,11 +26,11 @@ USE db2;
CREATE TABLE result(col1 STRING);
INSERT OVERWRITE TABLE result SELECT 'db2_insert1' FROM default.src LIMIT 1;
INSERT INTO TABLE result SELECT 'db2_insert2' FROM default.src LIMIT 1;
-SELECT * FROM result;
+SELECT * FROM result order by col1;

USE default;
CREATE DATABASE db1;
CREATE TABLE db1.result(col1 STRING);
INSERT OVERWRITE TABLE db1.result SELECT 'db1_insert1' FROM src LIMIT 1;
INSERT INTO TABLE db1.result SELECT 'db1_insert2' FROM src LIMIT 1;
-SELECT * FROM db1.result;
+SELECT * FROM db1.result order by col1;

Modified: hive/trunk/ql/src/test/results/clientpositive/insert1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/insert1.q.out?rev=1414488&r1=1414487&r2=1414488&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/insert1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/insert1.q.out Wed Nov 28 00:57:16 2012
@@ -668,11 +668,11 @@ POSTHOOK: Lineage: insert1.key SIMPLE [(
POSTHOOK: Lineage: insert1.value SIMPLE [(insert2)a.FieldSchema(name:value, type:string, comment:null), ]
POSTHOOK: Lineage: result.col1 SIMPLE []
POSTHOOK: Lineage: result.col1 SIMPLE []
-PREHOOK: query: SELECT * FROM result
+PREHOOK: query: SELECT * FROM result order by col1
PREHOOK: type: QUERY
PREHOOK: Input: db2@result
#### A masked pattern was here ####
-POSTHOOK: query: SELECT * FROM result
+POSTHOOK: query: SELECT * FROM result order by col1
POSTHOOK: type: QUERY
POSTHOOK: Input: db2@result
#### A masked pattern was here ####
@@ -734,11 +734,11 @@ POSTHOOK: Lineage: result.col1 SIMPLE []
POSTHOOK: Lineage: result.col1 SIMPLE []
POSTHOOK: Lineage: result.col1 SIMPLE []
POSTHOOK: Lineage: result.col1 SIMPLE []
-PREHOOK: query: SELECT * FROM db1.result
+PREHOOK: query: SELECT * FROM db1.result order by col1
PREHOOK: type: QUERY
PREHOOK: Input: db1@result
#### A masked pattern was here ####
-POSTHOOK: query: SELECT * FROM db1.result
+POSTHOOK: query: SELECT * FROM db1.result order by col1
POSTHOOK: type: QUERY
POSTHOOK: Input: db1@result
#### A masked pattern was here ####

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedNov 28, '12 at 12:57a
activeNov 28, '12 at 12:57a
posts1
users1
websitehive.apache.org

1 user in discussion

Hashutosh: 1 post

People

Translate

site design / logo © 2021 Grokbase