rcongiu / Hive-JSON-Serde

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

Json key are converted to lowercase and case.insensitive" = "FALSE" does not have any effect #236

Open Rajesh2015 opened 2 years ago

Rajesh2015 commented 2 years ago

I am using this serde in my glue table however I see the json key are always getting converted to lowercase irrespective of original input. I tried using case.insensitive" = "FALSE" but without the mapping as I donot need it to be part of separate column instead remain to be part of the payload column which is MAP<String,String> For example:

 "payload": {
          "cpr_Rate": "10",
          "type":"cpr"
        }

is getting converted

 "payload": {
          "cpr_rate": "10",
          "type":"cpr"
        }

Is my understanding wrong to use case.insensitive" = "FALSE" separately without mapping.Is there any workaround I can do to handle this.

benzaita commented 4 months ago

This seems to have been added in https://github.com/foursquare/Hive-JSON-Serde-1/commit/1cda97657a8737c08792d195f02583ace449900b