Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1A4CA200C1C for ; Wed, 15 Feb 2017 22:59:40 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1744E160B5E; Wed, 15 Feb 2017 21:59:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8743A160B4D for ; Wed, 15 Feb 2017 22:59:39 +0100 (CET) Received: (qmail 67447 invoked by uid 500); 15 Feb 2017 21:59:38 -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 67430 invoked by uid 99); 15 Feb 2017 21:59:38 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2017 21:59:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4C19EDFAB2; Wed, 15 Feb 2017 21:59:38 +0000 (UTC) From: lostphilosopher To: dev@avro.apache.org Reply-To: dev@avro.apache.org Message-ID: Subject: [GitHub] avro pull request #197: AVRO-2001 Adding support for doc attribute Content-Type: text/plain Date: Wed, 15 Feb 2017 21:59:38 +0000 (UTC) archived-at: Wed, 15 Feb 2017 21:59:40 -0000 GitHub user lostphilosopher opened a pull request: https://github.com/apache/avro/pull/197 AVRO-2001 Adding support for doc attribute The Avro schema and protocol specification(http://avro.apache.org/docs/current/spec.html) allows for an optional attribute "doc" defined as, "a JSON string describing this field for users." Users should be able to include a doc with each field for "records" (http://avro.apache.org/docs/current/spec.html#N10085) and "enums" (http://avro.apache.org/docs/current/spec.html#N10186). This doc attribute should be stripped when transforming into "Parsing Canonical Form" (http://avro.apache.org/docs/current/spec.html#N10815). Currently, the Ruby Avro library (https://github.com/apache/avro/tree/master/lang/ruby) does not support doc. It is supported in other languages libraries, for example PHP (https://github.com/apache/avro/blob/master/lang/php/lib/avro/schema.php#L46). You can merge this pull request into a Git repository by running: $ git pull https://github.com/lostphilosopher/avro avro_2001 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/avro/pull/197.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #197 ---- commit 654bedf194196b5f6d8ba5f28f516010c0be89b8 Author: lostphilosopher Date: 2017-02-15T19:05:43Z AVRO-2001 Adding support for doc attribute ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---