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

Christophe Taton commented on AVRO-1368:
----------------------------------------

Adding SpecificDatumWriter.getSpecificData() seems reasonable on one hand, but 
not necessary with what follows:
GenericDatumWriter/GenericData totally ignores the Stringable concept. Perhaps, 
the stringable concept should be moved to GenericData instead?

Last question: is there a reason for Avro integer to accept any Java Number, 
and silently convert/truncate them to Integer, while other Avro primitive types 
will require an exact class match (eg. Avro long will require Java Long, and 
not accept Java Integer).


                
> 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

Reply via email to