You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2013/07/06 21:01:50 UTC

svn commit: r1500312 - /hive/trunk/hcatalog/src/test/e2e/templeton/tests/ddl.conf

Author: hashutosh
Date: Sat Jul  6 19:01:50 2013
New Revision: 1500312

URL: http://svn.apache.org/r1500312
Log:
HIVE-4814 : Adjust WebHCat e2e tests until HIVE4703 is addressed (Eugene Koifman via Ashutosh Chauhan)

Modified:
    hive/trunk/hcatalog/src/test/e2e/templeton/tests/ddl.conf

Modified: hive/trunk/hcatalog/src/test/e2e/templeton/tests/ddl.conf
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/src/test/e2e/templeton/tests/ddl.conf?rev=1500312&r1=1500311&r2=1500312&view=diff
==============================================================================
--- hive/trunk/hcatalog/src/test/e2e/templeton/tests/ddl.conf (original)
+++ hive/trunk/hcatalog/src/test/e2e/templeton/tests/ddl.conf Sat Jul  6 19:01:50 2013
@@ -283,8 +283,8 @@ $cfg = 
      'status_code' => 200,
                                 #	  'json_field_substr_match' => {'table-name' => 'templeton_testtab1'}, 
      'json_field_match_object' => { 'columns' => '[
-                 { "name" : "i", "type" : "int"},
-                 { "name" : "j", "type" : "bigint", "comment" : "some comment"  }
+                 { "name" : "i", "type" : "int", "comment" : "from deserializer" },
+                 { "name" : "j", "type" : "bigint", "comment" : "from deserializer"  }
            ]' },
     },
     {                           #drop table
@@ -399,16 +399,15 @@ $cfg = 
      {'columns' => '[
 	      {
                   "name" : "i",
-                  "type" : "int"
+                  "type" : "int", "comment" : "from deserializer"
               },
 	     {
                   "name" : "j",
-                  "type" : "bigint"
+                  "type" : "bigint", "comment" : "from deserializer"
               },
 	     {
-                  "comment" : "IP Address of the User",
                   "name" : "ip",
-                  "type" : "string"
+                  "type" : "string", "comment" : "from deserializer"
               }
             ]',
       "partitionColumns" => '[
@@ -480,8 +479,8 @@ $cfg = 
      'status_code' => 200,
      #	  'json_field_substr_match' => {'table-name' => 'templeton_testtab1'}, 
      'json_field_match_object' => { 'columns' => '[
-                 { "name" : "i", "type" : "int" },
-                 { "name" : "j", "type" : "bigint" }
+                 { "name" : "i", "type" : "int", "comment" : "from deserializer" },
+                 { "name" : "j", "type" : "bigint", "comment" : "from deserializer" }
            ]' },
     },
 
@@ -626,16 +625,15 @@ STORED AS rcfile
       "columns" => '[
 		{
 		    "name" : "i",
-		    "type" : "int"
+		    "type" : "int", "comment" : "from deserializer"
 		},
 	       {
 		   "name" : "j",
-		   "type" : "bigint"
+		   "type" : "bigint", "comment" : "from deserializer"
 	       },
 	       {
-		   "comment" : "IP Address of the User",
 		   "name" : "ip",
-		   "type" : "string"
+		   "type" : "string", "comment" : "from deserializer"
 	      }
 	    ]',
 
@@ -679,16 +677,15 @@ STORED AS rcfile
       "columns" => '[
 		{
 		    "name" : "i",
-		    "type" : "int"
+		    "type" : "int", "comment" : "from deserializer"
 		},
 	       {
 		   "name" : "j",
-		   "type" : "bigint"
+		   "type" : "bigint", "comment" : "from deserializer"
 	       },
 	       {
-		   "comment" : "IP Address of the User",
 		   "name" : "ip",
-		   "type" : "string"
+		   "type" : "string", "comment" : "from deserializer"
 	      }
 	    ]',
 
@@ -782,8 +779,8 @@ STORED AS rcfile
      'json_field_match_object' => 
      {
       'columns' => '[
-                 { "name" : "i", "type" : "int", "comment" : "column with comment"},
-                 { "name" : "j", "type" : "bigint" }
+                 { "name" : "i", "type" : "int", "comment" : "from deserializer"},
+                 { "name" : "j", "type" : "bigint", "comment" : "from deserializer" }
            ]' 
      },
     },
@@ -802,7 +799,7 @@ STORED AS rcfile
      },
      'json_field_match_object' => 
      {
-      'column' => '{ "name" : "i", "type" : "int", "comment" : "column with comment" }' 
+      'column' => '{ "name" : "i", "type" : "int", "comment" : "from deserializer" }' 
      },
     },