openinx commented on issue #1578: URL: https://github.com/apache/iceberg/issues/1578#issuecomment-706645811
Storing a map as a list of key/value pairs will introduce another problem: its avro schema type is `array` while its real data type in `GenericData.Record` is `Map`, so we could not compare those records by using the default `GenericData.Record` comparator because it will use the `array` type from avro schema to parse the Map object. That seems to be OK, we can fallback to compare the `toString`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
