diff --git hcatalog/src/test/e2e/templeton/tests/ddl.conf hcatalog/src/test/e2e/templeton/tests/ddl.conf index 518a94c..f7747e8 100644 --- hcatalog/src/test/e2e/templeton/tests/ddl.conf +++ hcatalog/src/test/e2e/templeton/tests/ddl.conf @@ -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" }' }, },