Equality for "order":"ignore" fields cannot use compareTo
---------------------------------------------------------
Key: AVRO-786
URL: https://issues.apache.org/jira/browse/AVRO-786
Project: Avro
Issue Type: Bug
Reporter: Stu Hood
Priority: Minor
According to the spec:
{quote}map data may not be compared. It is an error to attempt to compare data
containing maps unless those maps are in an "order":"ignore" record
field."{quote}
It looks like GenericData.Record implements equals() in terms of
GenericData.compareTo(), which will fail for any record containing a Map,
although the spec seems to indicate that it should succeed for "order":"ignore".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira