avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-720) Generated code for arrays should accept extensions of array content type
Date Wed, 29 Dec 2010 21:51:46 GMT

     [ https://issues.apache.org/jira/browse/AVRO-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting updated AVRO-720:
------------------------------

    Attachment: AVRO-720.patch

Jeff, does this do the trick for you?

> Generated code for arrays should accept extensions of array content type
> ------------------------------------------------------------------------
>
>                 Key: AVRO-720
>                 URL: https://issues.apache.org/jira/browse/AVRO-720
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Jeff Hammerbacher
>             Fix For: 1.5.0
>
>         Attachments: AVRO-720.patch
>
>
> Discovered when I upgraded a server from 1.3 to 1.4: trying to stuff a GenericData.Array<Utf8>
object into a List<CharSequence> does not work; Avro should generate List<? implements
CharSequence> instead. The same holds for other array types.

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