This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/main by this push:
new 8e651d8a1 AVRO-3919: [Spec] Clarify UUID type (#2646)
8e651d8a1 is described below
commit 8e651d8a1f91c9d279388cb22afe8c092b49a216
Author: Fokko Driesprong <[email protected]>
AuthorDate: Thu Dec 28 14:47:25 2023 +0100
AVRO-3919: [Spec] Clarify UUID type (#2646)
With an example as we have with the other types as well.
---
doc/content/en/docs/++version++/Specification/_index.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/doc/content/en/docs/++version++/Specification/_index.md
b/doc/content/en/docs/++version++/Specification/_index.md
index 152741a0b..3edee7c8d 100755
--- a/doc/content/en/docs/++version++/Specification/_index.md
+++ b/doc/content/en/docs/++version++/Specification/_index.md
@@ -829,6 +829,14 @@ The `uuid` logical type represents a random generated
universally unique identif
A `uuid` logical type annotates an Avro `string`. The string has to conform
with [RFC-4122](https://www.ietf.org/rfc/rfc4122.txt)
+The following schema represents a uuid:
+```json
+{
+ "type": "string",
+ "logicalType": "uuid"
+}
+```
+
### Date
The `date` logical type represents a date within the calendar, with no
reference to a particular time zone or time of day.