avro icon indicating copy to clipboard operation
avro copied to clipboard

AVRO-2943 improve GenericRecord MAP type comparison

Open frankgrimes97 opened this issue 4 years ago • 0 comments

Make GenericRecord comparison handle String vs Utf8 for MAP type This mirrors what was already previously done for Schema.type.STRING

Adds the following new unit tests:

  • org.apache.avro.generic.TestGenericData.testMapKeyEquals
  • org.apache.avro.generic.TestGenericData.testMapValuesEquals

N.B. We should also consider doing the same for Schema.type.ARRAY

https://issues.apache.org/jira/browse/AVRO-2943

frankgrimes97 avatar Nov 03 '20 22:11 frankgrimes97