rcongiu / Hive-JSON-Serde

Read - Write JSON SerDe for Apache Hive.
Other
733 stars 393 forks source link

Add an option enabling translation of certain characters (from stackoverflow.com issue) #131

Closed frbattid closed 8 years ago

frbattid commented 8 years ago

As discussed in stackoverflow.com (if I've understood well):

It would be great the serde could be configured in order certain characters within the query string are converted to other characters. This would be very useful when, for instance, dots are used in the real Json data fields, but Hive is not allowing to use such dots in the table column names.

rcongiu commented 8 years ago

I just pushed the changes in the develop branch. Please refer to the README for how to use it (https://github.com/rcongiu/Hive-JSON-Serde#mapping-names-with-dots)