hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1515911 - in /hive/trunk/ql/src/test: queries/clientpositive/orc_dictionary_threshold.q results/clientpositive/orc_dictionary_threshold.q.out
Date Tue, 20 Aug 2013 18:36:10 GMT
Author: brock
Date: Tue Aug 20 18:36:10 2013
New Revision: 1515911

URL: http://svn.apache.org/r1515911
Log:
HIVE-5117: orc_dictionary_threshold is not deterministic (Navis via Ashutosh Chauhan)

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

Modified: hive/trunk/ql/src/test/queries/clientpositive/orc_dictionary_threshold.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientpositive/orc_dictionary_threshold.q?rev=1515911&r1=1515910&r2=1515911&view=diff
==============================================================================
--- hive/trunk/ql/src/test/queries/clientpositive/orc_dictionary_threshold.q (original)
+++ hive/trunk/ql/src/test/queries/clientpositive/orc_dictionary_threshold.q Tue Aug 20 18:36:10
2013
@@ -9,7 +9,8 @@ ROW FORMAT SERDE 'org.apache.hadoop.hive
 STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat' 
 OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat';
 
-INSERT OVERWRITE TABLE test_orc SELECT key FROM src limit 10;
+-- should be single split
+INSERT OVERWRITE TABLE test_orc SELECT key FROM src TABLESAMPLE (10 ROWS);
 
 -- Test reading the column back
 

Modified: hive/trunk/ql/src/test/results/clientpositive/orc_dictionary_threshold.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/orc_dictionary_threshold.q.out?rev=1515911&r1=1515910&r2=1515911&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/orc_dictionary_threshold.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/orc_dictionary_threshold.q.out Tue Aug 20
18:36:10 2013
@@ -17,11 +17,13 @@ STORED AS INPUTFORMAT 'org.apache.hadoop
 OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'
 POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: default@test_orc
-PREHOOK: query: INSERT OVERWRITE TABLE test_orc SELECT key FROM src limit 10
+PREHOOK: query: -- should be single split
+INSERT OVERWRITE TABLE test_orc SELECT key FROM src TABLESAMPLE (10 ROWS)
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src
 PREHOOK: Output: default@test_orc
-POSTHOOK: query: INSERT OVERWRITE TABLE test_orc SELECT key FROM src limit 10
+POSTHOOK: query: -- should be single split
+INSERT OVERWRITE TABLE test_orc SELECT key FROM src TABLESAMPLE (10 ROWS)
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@src
 POSTHOOK: Output: default@test_orc



Mime
View raw message