You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "James Baldassari (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/17 20:43:40 UTC

[jira] [Resolved] (AVRO-993) Add methods back to GenericDatumReader that were removed in AVRO-839

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

James Baldassari resolved AVRO-993.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.2

I committed this.
                
> Add methods back to GenericDatumReader that were removed in AVRO-839
> --------------------------------------------------------------------
>
>                 Key: AVRO-993
>                 URL: https://issues.apache.org/jira/browse/AVRO-993
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.6.0, 1.6.1
>            Reporter: James Baldassari
>            Assignee: James Baldassari
>             Fix For: 1.6.2
>
>         Attachments: AVRO-993-v2.patch, AVRO-993.patch
>
>
> As part of AVRO-839 three methods were moved from GenericDatumReader to GenericData:
> * newRecord(Object, Schema)
> * createFixed(Object old, Schema schema)
> * createFixed(Object, byte[], Schema)
> Although their visibility is protected, they are part of the public API because GenericDatumReader is public.  Therefore these methods should have been deprecated before being removed.  The removal of these methods caused PIG-2463.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira