Closed zhenik closed 4 years ago
Create a table
CREATE External TABLE my_table ( description STRING, foo STRUCT<bar: STRING, quux: STRING, level1: STRUCT<l2string: STRING, l2struct: STRUCT<level3: STRING>>>, wibble STRING, wobble ARRAY<STRUCT <entry: INT, EntryDetails: STRUCT<details1: STRING, details2: INT>>>) ROW FORMAT SERDE 'org.openx.data.jsonserde.JsonSerDe' location 's3a://hive/warehouse/json/';
{ "description": "my doc", "foo": { "bar": "baz", "quux": "revlos", "level1": { "l2string": "l2val", "l2struct": { "level3": "l3val" } } }, "wibble": "123", "wobble": [ { "entry": 1, "EntryDetails": { "details1": "lazybones", "details2": 414 } } ] }
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot validate serde: org.openx.data.jsonserde.JsonSerDe hive>
Steps to reproduce
Create a table
Data sample
Log