avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1368) String schema accepts any Java object, and converts it with toString()
Date Tue, 27 Aug 2013 23:41:54 GMT

    [ https://issues.apache.org/jira/browse/AVRO-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751899#comment-13751899
] 

Doug Cutting commented on AVRO-1368:
------------------------------------

I suspect that conversion was intended to convert Integer, Short and Character to int, and
that also converting Float, Double etc. was unintended.  Do you think all cases should convert
any Number?  That would be a compatible change, but might have performance implications. 
Or do you think this case should be narrowed to only handle Integer, Short and Character?
 That would be incompatible.
                
> String schema accepts any Java object, and converts it with toString()
> ----------------------------------------------------------------------
>
>                 Key: AVRO-1368
>                 URL: https://issues.apache.org/jira/browse/AVRO-1368
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.5
>            Reporter: Christophe Taton
>


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

Mime
View raw message