Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B80ABE09 for ; Mon, 16 Jan 2012 08:09:13 +0000 (UTC) Received: (qmail 49298 invoked by uid 500); 16 Jan 2012 08:09:12 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 49085 invoked by uid 500); 16 Jan 2012 08:09:09 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 49069 invoked by uid 99); 16 Jan 2012 08:09:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2012 08:09:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2012 08:09:04 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0777A14EF4A for ; Mon, 16 Jan 2012 08:08:43 +0000 (UTC) Date: Mon, 16 Jan 2012 08:08:41 +0000 (UTC) From: "James Baldassari (Updated) (JIRA)" To: dev@avro.apache.org Message-ID: <1642222930.43895.1326701323085.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <46165951.43861.1326700188090.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AVRO-993) Add methods back to GenericDatumReader that were removed in AVRO-839 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Baldassari updated AVRO-993: ---------------------------------- Attachment: AVRO-993.patch Here's a patch for GenericDatumReader that adds the three missing methods back in with a deprecation warning. Internally they invoke the same methods on GenericData. > 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 > Affects Versions: 1.6.0, 1.6.1 > Reporter: James Baldassari > Assignee: James Baldassari > Attachments: 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