[
https://issues.apache.org/jira/browse/AVRO-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529768#comment-13529768
]
Dave Beech commented on AVRO-1219:
----------------------------------
Any suggestions on a name for this? The best I've come up with so far is
"AvroDeserializingKeyComparator"
> Add support for grouping comparators without an implementation of the
> RawComparator interface
> ---------------------------------------------------------------------------------------------
>
> Key: AVRO-1219
> URL: https://issues.apache.org/jira/browse/AVRO-1219
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.7.3
> Reporter: Dave Beech
> Assignee: Dave Beech
> Priority: Minor
>
> From
> http://mail-archives.apache.org/mod_mbox/avro-user/201212.mbox/%3CCAFZSZPvKcSTf84hwqOhZ7OchtcnxmDwp1krYaaq2qsLDtV0brw%40mail.gmail.com%3E
>
> Summary:
> If you want to use a grouping comparator with the "new" mapreduce API and
> Avro, you must provide an implementation of RawComparator compare(byte[] b1,
> int s1, int l1, byte[] b2, int s2, int l2).
> In standard mapreduce, you don't have to do this. Hadoop does it for you
> behind the scenes by deserializing the writables and calling compare(x,y)
> instead.
> We should provide a subclass of AvroKeyComparator which does the
> deserialization and delegates to compare(x,y) to be consistent with Hadoop
> mapreduce.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira