Author: hashutosh
Date: Fri Mar 28 16:25:02 2014
New Revision: 1582802

URL: http://svn.apache.org/r1582802
Log:
HIVE-6771 : Update WebHCat E2E tests now that comments is reported correctly in 
describe table output (Deepesh Khandelwal via Ashutosh Chauhan)

Modified:
    hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/ddl.conf

Modified: 
hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/ddl.conf
URL: 
http://svn.apache.org/viewvc/hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/ddl.conf?rev=1582802&r1=1582801&r2=1582802&view=diff
==============================================================================
--- hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/ddl.conf 
(original)
+++ hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/tests/ddl.conf 
Fri Mar 28 16:25:02 2014
@@ -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", "comment" : "from 
deserializer" },
-                 { "name" : "j", "type" : "bigint", "comment" : "from 
deserializer" }
+                 { "name" : "i", "type" : "int" },
+                 { "name" : "j", "type" : "bigint", "comment" : "some comment" 
}
            ]' },
     },
     {                           #drop table
@@ -406,16 +406,16 @@ $cfg = 
      {'columns' => '[
              {
                   "name" : "i",
-                  "type" : "int", "comment" : "from deserializer"
+                  "type" : "int"
               },
             {
                   "name" : "j",
-                  "type" : "bigint", "comment" : "from deserializer"
+                  "type" : "bigint"
               },
             {
                   "comment" : "IP Address of the User",
                   "name" : "ip",
-                  "type" : "string", "comment" : "from deserializer"
+                  "type" : "string"
               }
             ]',
       "partitionColumns" => '[
@@ -487,8 +487,8 @@ $cfg = 
      'status_code' => 200,
      #   'json_field_substr_match' => {'table-name' => 'templeton_testtab1'}, 
      'json_field_match_object' => { 'columns' => '[
-                 { "name" : "i", "type" : "int", "comment" : "from 
deserializer" },
-                 { "name" : "j", "type" : "bigint", "comment" : "from 
deserializer" }
+                 { "name" : "i", "type" : "int" },
+                 { "name" : "j", "type" : "bigint" }
            ]' },
     },
 
@@ -625,16 +625,16 @@ $cfg = 
       "columns" => '[
                {
                    "name" : "i",
-                   "type" : "int", "comment" : "from deserializer"
+                   "type" : "int"
                },
               {
                   "name" : "j",
-                  "type" : "bigint", "comment" : "from deserializer"
+                  "type" : "bigint"
               },
               {
                   "comment" : "IP Address of the User",
                   "name" : "ip",
-                  "type" : "string", "comment" : "from deserializer"
+                  "type" : "string"
              }
            ]',
 
@@ -678,16 +678,16 @@ $cfg = 
       "columns" => '[
                {
                    "name" : "i",
-                   "type" : "int", "comment" : "from deserializer"
+                   "type" : "int"
                },
               {
                   "name" : "j",
-                  "type" : "bigint", "comment" : "from deserializer"
+                  "type" : "bigint"
               },
               {
                   "comment" : "IP Address of the User",
                   "name" : "ip",
-                  "type" : "string", "comment" : "from deserializer"
+                  "type" : "string"
              }
            ]',
 
@@ -781,8 +781,8 @@ $cfg = 
      'json_field_match_object' => 
      {
       'columns' => '[
-                 { "name" : "i", "type" : "int", "comment" : "from 
deserializer" },
-                 { "name" : "j", "type" : "bigint", "comment" : "from 
deserializer" }
+                 { "name" : "i", "type" : "int", "comment": "column with 
comment" },
+                 { "name" : "j", "type" : "bigint" }
            ]' 
      },
     },
@@ -801,7 +801,7 @@ $cfg = 
      },
      'json_field_match_object' => 
      {
-      'column' => '{ "name" : "i", "type" : "int", "comment" : "from 
deserializer" }' 
+      'column' => '{ "name" : "i", "type" : "int", "comment": "column with 
comment" }'
      },
     },
 


Reply via email to