avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharad Agarwal (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-80) 'reflect' implementation requires Avro classes to define types
Date Wed, 07 Oct 2009 08:38:31 GMT

    [ 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.


Mime
View raw message