[ https://issues.apache.org/jira/browse/PIG-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999689#comment-12999689 ]
Jakob Homan commented on PIG-1872: ---------------------------------- +1. Looks good to me. > 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