Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Patch
Description
To reproduce this error, take two fields in an avro schema document matching the following:
"type" : { "type": "array", "items": [ "null",
] }
"type" : { "type": "map", "values": [ "null" ,
] }
After creating two tables in hive with these schemas, the describe statement on each of them will only return the schema for the first one loaded. This is due to a hashCode() collision in the InstanceCache.
A patch will be included in this ticket shortly which removes the hashCode call from the InstanceCache's internal HashMap, and instead provides the entire schema object.