BELUGA BEHR created HIVE-19960:
----------------------------------
Summary: Add Column Mapping to JsonSerDe
Key: HIVE-19960
URL: https://issues.apache.org/jira/browse/HIVE-19960
Project: Hive
Issue Type: New Feature
Components: Serializers/Deserializers
Affects Versions: 3.0.0, 4.0.0
Reporter: BELUGA BEHR
Enhance the JSON SerDe to accept a SerDe property that allows for arbitrary
mapping of JSON parameter names to column names. This would be very similar to
Hive HBase integration.
{code}
{"fname":"John","lname":"Doe"}
CREATE TABLE (
first_name string,
last_name string,
...
WITH SERDEPROPERTIES (
"json.columns.mapping" = "fname:first_name,lname:last_name"
);
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)