rcongiu/Hive-JSON-Serde — pull request #7 by peterdm (2012-08-29 19:32:00+00:00)
Title: Handles { arrayProp:null } correctly when expecting { arrayProp:[] }

I didn't check to see if the same thing is happening for Maps but { arrayProp:null } should be considered valid JSON.

Previously this would throw:

org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row [Error getting row data with exception java.lang.ClassCastException: org.openx.data.jsonserde.json.JSONObject$Null cannot be cast to org.openx.data.jsonserde.json.JSONArray
at org.openx.data.jsonserde.objectinspector.JsonListObjectInspector.getList(JsonListObjectInspector.java:36)