[ https://issues.apache.org/jira/browse/AVRO-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eelco Hillenius updated AVRO-104: --------------------------------- Attachment: AVRO-104.patch Uploaded patch that gets rid of the static methods of ReflectData in favor of using - now overridable - instances of ReflectData. For convenience (and because I would expect more people to want to allow nulls when writing records through introspection, I'm exposing the null allowing specialization of ReflectData like this: ReflectData reflectData = ReflectData.newNullAllowingInstance(); But people can provide any custom implementation. > Reflective API can't handle nulls > --------------------------------- > > Key: AVRO-104 > URL: https://issues.apache.org/jira/browse/AVRO-104 > Project: Avro > Issue Type: Bug > Components: java > Affects Versions: 1.0.0, 1.0.1 > Reporter: Eelco Hillenius > Fix For: 1.0.1 > > Attachments: AVRO-104.patch, AVRO-104.patch, AVRO-104.patch, > AVRO-104.patch, AVRO-104.patch, AVRO-104.patch > > > It is currently not possible to have fields with null values when using the > reflective API. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.