hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jagrut Sharma <jagrutsha...@gmail.com>
Subject JSON SerDe column name mapping
Date Tue, 15 Aug 2017 19:44:03 GMT
For org.apache.hive.hcatalog.data.JsonSerDe, is there a way to provide
column name mapping via serdeproperties? Trying to handle keys with dots in
them by renaming to underscores.

For a JSON key like key.name.dev, the Hive table will have column
key_name_dev. The mapping should be specified via the serde config when
creating the table.

This functionality is provided by this SerDe (https://github.com/rcongiu/
Hive-JSON-Serde), and trying to get something similar.

Thanks.

-- 
Jagrut

Mime
View raw message