On Tue, Aug 27, 2013 at 4:41 PM, Doug Cutting (JIRA) <j...@apache.org>wrote:
> 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. > I, very personally, dislikes silent, implicit conversions, and especially the lossy ones. If we had the choice, I would rather narrow these to only handle Integer, Short and Character. > 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 >