avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eelco Hillenius (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-104) Reflective API can't handle nulls
Date Tue, 25 Aug 2009 17:43:59 GMT

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

Eelco Hillenius commented on AVRO-104:
--------------------------------------

ReflectDatumReader/Writer could be done by adding more constructors and setting ReflectData
as the default. The problem is with the static getClient methods of ReflectRequestor, ReflectResponder
and SpecificRequestor, which do a static call to ReflectData themselves.

We might be possible is to keep ReflectData#getProtocol static, and getSchema or createSchema
overridable as non-static methods. Would that be acceptable?

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


Mime
View raw message