rcongiu / Hive-JSON-Serde

Read - Write JSON SerDe for Apache Hive.
Other
732 stars 391 forks source link

duplicate key mapping issue #163

Closed hidarapaneni closed 7 years ago

hidarapaneni commented 8 years ago

hi @rcongiu ,

I tried the approach that was mentioned in one of the issue but still giving me duplicate issue. Please advice.

Here are details : json-serde-1.3.8-SNAPSHOT-jar-with-dependencies.jar

sample json : {"Time":"forme","time":"foryou"}

ddl : create external table sample_dup1(duptime1 string, duptime2 string) ROW FORMAT SERDE 'org.openx.data.jsonserde.JsonSerDe' WITH SERDEPROPERTIES ( "mapping.duptime1"="Time", "mapping.duptime2"="time") location '/user/hive/warehouse/samp_dup_test/';

rcongiu commented 7 years ago

this is dublicate as #156 . I just commited a change in that ticket to fix this.