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

Eelco Hillenius commented on AVRO-95:
-------------------------------------

Btw, I had to move the test record classes to top level; the current code 
instantiates using a simple package name + class, but doesn't take into account 
that classes might be nested. I can open another issue for this once this one 
is fixed.

> mixing multiple types in one data file using reflection is not supported
> ------------------------------------------------------------------------
>
>                 Key: AVRO-95
>                 URL: https://issues.apache.org/jira/browse/AVRO-95
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.0
>            Reporter: Eelco Hillenius
>            Assignee: Doug Cutting
>             Fix For: 1.0.1
>
>         Attachments: AVRO-95.patch, AVRO-95.patch, AVRO-95.patch, 
> AVRO-95.patch, AVRO-95.patch
>
>
> My use case is that I have a bunch of different kind of events (in a 
> hierarchy actually, which right now isn't supported either, see AVRO-93), 
> that I would like to write out to log files using Avro. Unfortunately, 
> writing more than one type via reflection seems to be broken currently. I 
> think I can tell from the code and the resulting data file that this should 
> be supported, but it seems that there are a few issues with the 
> implementation right now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to