Fix bug in AvroStorage
----------------------
Key: PIG-1872
URL: https://issues.apache.org/jira/browse/PIG-1872
Project: Pig
Issue Type: Bug
Affects Versions: 0.9.0
Reporter: lin guo
Priority: Minor
Fix For: 0.9.0
Attachments: my.diff
AvroStorageUtils.containsRecursiveRecord() has a bug and returns true for a
record with multiple fields of the same type, e.g.
{ "type":"record", "name":"Event", " +
"fields":[{"name":"f1", "type":{ "type":"record","name":"EntityID", ....}}
{"name":"f2","type":"EntityID"}, " +
{"name":"f3","type":"EntityID"} ]}
Patch contains bug fix and unit tests.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira