You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/08/24 20:46:59 UTC

[jira] Commented: (AVRO-104) Reflective API can't handle nulls

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

Doug Cutting commented on AVRO-104:
-----------------------------------

> Otherwise, I think it would be nice to implement reflection through a separate abstraction where you allow clients to plug in their own implementation in Avro.

Sure, one might make ReflectDatumReader and ReflectDatumWriter each contain a ReflectData instance, and add protected methods that create the schemas for each Java type.

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