Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 70001 invoked from network); 28 Aug 2009 21:45:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Aug 2009 21:45:54 -0000 Received: (qmail 73557 invoked by uid 500); 28 Aug 2009 21:45:54 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 73490 invoked by uid 500); 28 Aug 2009 21:45:54 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 73480 invoked by uid 99); 28 Aug 2009 21:45:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 21:45:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 21:45:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E0225234C044 for ; Fri, 28 Aug 2009 14:45:32 -0700 (PDT) Message-ID: <502431323.1251495932886.JavaMail.jira@brutus> Date: Fri, 28 Aug 2009 14:45:32 -0700 (PDT) From: "Doug Cutting (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Updated: (AVRO-108) add binary comparator In-Reply-To: <2057634492.1251477512907.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-108: ------------------------------ Fix Version/s: 1.0.1 Assignee: Doug Cutting Status: Patch Available (was: Open) This is all-new code and includes tests. I'll commit it soon unless someone objects. > add binary comparator > --------------------- > > Key: AVRO-108 > URL: https://issues.apache.org/jira/browse/AVRO-108 > Project: Avro > Issue Type: New Feature > Components: java > Reporter: Doug Cutting > Assignee: Doug Cutting > Fix For: 1.0.1 > > Attachments: AVRO-108.java > > > Hadoop MapReduce performance benefits greatly if data may be compared without deserializing to an object, but rather by examining its serialized bytes directly. Such "raw" comparators are typically written by hand in Hadoop, and are very fragile. > With Avro it is possible to generically compare two serialized byte sequences if their schema is known. This should work for any Avro data, regardless of how it was serialized or how it will be deserialized. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.