hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kimball (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6323) Serialization should provide comparators
Date Tue, 08 Dec 2009 04:24:18 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Aaron Kimball updated HADOOP-6323:

    Attachment: HADOOP-6323.patch

Here's a patch that takes a first pass at implementing this. This implements the API in WritableSerialization
and AvroSerialization.

* LegacySerialization just returns null
* AvroSerialization always uses the schema in {{metadata[AVRO_SCHEMA_KEY]}}. There are no
special provisions for AvroSpecificSerialization -- should there be any?
* Note that {{BinaryData.compare()}} does not take {{l1}} and {{l2}} parameters, so those
arguments to {{RawComparator.compare()}} are ignored -- I guess this is ok, since Avro knows
the max length it should read via the schema?

> Serialization should provide comparators
> ----------------------------------------
>                 Key: HADOOP-6323
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6323
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: io
>            Reporter: Doug Cutting
>         Attachments: HADOOP-6323.patch
> The Serialization interface should permit one to create raw comparators.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message