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 1766D1044E for ; Mon, 17 Jun 2013 18:01:34 +0000 (UTC) Received: (qmail 45897 invoked by uid 500); 17 Jun 2013 18:01:33 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 44853 invoked by uid 500); 17 Jun 2013 18:01:27 -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 44479 invoked by uid 99); 17 Jun 2013 18:01:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 18:01:25 +0000 Date: Mon, 17 Jun 2013 18:01:25 +0000 (UTC) From: "Skye Wanderman-Milne (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AVRO-1346) C++: schema parser cannot parse verbose primitive types MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Skye Wanderman-Milne updated AVRO-1346: --------------------------------------- Assignee: Skye Wanderman-Milne Status: Patch Available (was: Open) > C++: schema parser cannot parse verbose primitive types > ------------------------------------------------------- > > Key: AVRO-1346 > URL: https://issues.apache.org/jira/browse/AVRO-1346 > Project: Avro > Issue Type: Bug > Components: c++ > Affects Versions: 1.7.4 > Reporter: Skye Wanderman-Milne > Assignee: Skye Wanderman-Milne > Attachments: AVRO-1346.patch > > > The Avro C++ library's schema parser currently throws an "Unknown additional Json fields" exception if a primitive type is not represented as a string literal. As per http://avro.apache.org/docs/current/spec.html#schema_primitive, primitive types can be defined as e.g. "\{type: string\}" or "string". Extra attributes are allowed too, e.g. "\{"avro.java.string":"String","type":"string"\}" (from the spec: "Attributes not defined in this document are permitted as metadata, but must not affect the format of serialized data."). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira