You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by ga...@apache.org on 2017/06/29 11:18:50 UTC

avro git commit: AVRO-2021: uuid logical type is not documented

Repository: avro
Updated Branches:
  refs/heads/master d145b8b64 -> 9bff02fbf


AVRO-2021: uuid logical type is not documented


Project: http://git-wip-us.apache.org/repos/asf/avro/repo
Commit: http://git-wip-us.apache.org/repos/asf/avro/commit/9bff02fb
Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/9bff02fb
Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/9bff02fb

Branch: refs/heads/master
Commit: 9bff02fbfa5b5d8356aa8af57e250bac7a92ca7f
Parents: d145b8b
Author: Nandor Kollar <nk...@cloudera.com>
Authored: Wed Jun 28 16:36:17 2017 +0200
Committer: Gabor Szadovszky <ga...@apache.org>
Committed: Thu Jun 29 13:17:51 2017 +0200

----------------------------------------------------------------------
 CHANGES.txt                    |  2 ++
 doc/src/content/xdocs/spec.xml | 11 +++++++++++
 2 files changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/avro/blob/9bff02fb/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index f20b21d..bdf047c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -54,6 +54,8 @@ Trunk (not yet released)
 
     AVRO-1971: Allow alias annotation on fields (Johannes Schulte via gabor)
 
+    AVRO-2021: uuid logical type is not documented (Nandor Kollar via gabor)
+
   BUG FIXES
 
     AVRO-1741: Python3: Fix error when codec is not in the header.

http://git-wip-us.apache.org/repos/asf/avro/blob/9bff02fb/doc/src/content/xdocs/spec.xml
----------------------------------------------------------------------
diff --git a/doc/src/content/xdocs/spec.xml b/doc/src/content/xdocs/spec.xml
index 917d314..8995e1f 100644
--- a/doc/src/content/xdocs/spec.xml
+++ b/doc/src/content/xdocs/spec.xml
@@ -1438,6 +1438,17 @@ void initFPTable() {
       </section>
 
       <section>
+        <title>UUID</title>
+        <p>
+          The <code>uuid</code> logical type represents a random generated universally unique identifier (UUID).
+        </p>
+
+        <p>
+          A <code>uuid</code> logical type annotates an Avro <code>string</code>. The string has to conform with <a href="http://www.ietf.org/rfc/rfc4122.txt">RFC-4122</a>
+        </p>
+      </section>
+
+      <section>
         <title>Date</title>
         <p>
           The <code>date</code> logical type represents a date within the calendar, with no reference to a particular time zone or time of day.