incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1340221 - in /incubator/hcatalog/branches/branch-0.4: CHANGES.txt src/test/e2e/hcatalog/tests/hive.conf
Date Fri, 18 May 2012 19:34:31 GMT
Author: gates
Date: Fri May 18 19:34:31 2012
New Revision: 1340221

URL: http://svn.apache.org/viewvc?rev=1340221&view=rev
Log:
HCATALOG-390 Add e2e test for Hive with different file formats in different partitions 

Modified:
    incubator/hcatalog/branches/branch-0.4/CHANGES.txt
    incubator/hcatalog/branches/branch-0.4/src/test/e2e/hcatalog/tests/hive.conf

Modified: incubator/hcatalog/branches/branch-0.4/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/CHANGES.txt?rev=1340221&r1=1340220&r2=1340221&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.4/CHANGES.txt (original)
+++ incubator/hcatalog/branches/branch-0.4/CHANGES.txt Fri May 18 19:34:31 2012
@@ -25,6 +25,8 @@ Release 0.4.1 - Unreleased
   NEW FEATURES
 
   IMPROVEMENTS
+  HCAT-390 Add e2e test for Hive with different file formats in different partitions (daijy
via gates)
+
   HCAT-368 Documentation improvements: doc set & API docs (lefty via gates)
 
   BUG FIXES

Modified: incubator/hcatalog/branches/branch-0.4/src/test/e2e/hcatalog/tests/hive.conf
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/src/test/e2e/hcatalog/tests/hive.conf?rev=1340221&r1=1340220&r2=1340221&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.4/src/test/e2e/hcatalog/tests/hive.conf (original)
+++ incubator/hcatalog/branches/branch-0.4/src/test/e2e/hcatalog/tests/hive.conf Fri May 18
19:34:31 2012
@@ -131,6 +131,20 @@ $cfg = {
                          'verify_sql' => q\select name, age, truncate(gpa, 0) from all100krc;\,
                          'floatpostprocess' => 1,
                          'delimiter' => '	',
+                    },{
+                         'num' => 4,
+                         'sql' => q?
+drop table if exists hive_read_4;
+create table hive_read_4 (name string, age int, gpa double) partitioned by (b string) row
format delimited fields terminated by '\t' stored as textfile;
+alter table hive_read_4 add partition (b='1') location '/user/hcat/tests/data/studenttab10k';
+alter table hive_read_4 set fileformat rcfile;
+alter table hive_read_4 add partition (b='2') location '/user/hcat/tests/data/all100krc';
+select name, age, b from hive_read_4;?,
+                         'verify_sql' =>"(select name, age, 1 from studenttab10k)
+                            union all
+                            (select name, age, 2 from all100krc);",
+                         'floatpostprocess' => 1,
+                         'delimiter' => '	',
                     } ]
                 }, # end g
                 {



Mime
View raw message