Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 48129 invoked from network); 7 Oct 2009 08:38:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Oct 2009 08:38:55 -0000 Received: (qmail 9718 invoked by uid 500); 7 Oct 2009 08:38:55 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 9664 invoked by uid 500); 7 Oct 2009 08:38:55 -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 9654 invoked by uid 99); 7 Oct 2009 08:38:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 08:38:55 +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; Wed, 07 Oct 2009 08:38:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 56FC3234C03A for ; Wed, 7 Oct 2009 01:38:31 -0700 (PDT) Message-ID: <1646606660.1254904711340.JavaMail.jira@brutus> Date: Wed, 7 Oct 2009 01:38:31 -0700 (PDT) From: "Sharad Agarwal (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Commented: (AVRO-80) 'reflect' implementation requires Avro classes to define types In-Reply-To: <712192656.1248061574794.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-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762937#action_12762937 ] Sharad Agarwal commented on AVRO-80: ------------------------------------ I think there should be a default and easy way to work with Strings. I came across couple of instances where potential users enquired about this and this limitation deterred them to use Avro. Should we make the reflect *default* representation of String schema as java.lang.String itself? I agree that performance is the concern but I think for reflect that trade-off is fine. > 'reflect' implementation requires Avro classes to define types > -------------------------------------------------------------- > > Key: AVRO-80 > URL: https://issues.apache.org/jira/browse/AVRO-80 > Project: Avro > Issue Type: Bug > Components: java > Reporter: Sharad Agarwal > > Since 'reflect' implementation is expected to work with existing code, it should work with java types. For example it should work with java String instead of org.apache.avro.util.Utf8. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.