Skip to content

Commit

Permalink
AVRO-3919: [Spec] Clarify UUID type (#2646)
Browse files Browse the repository at this point in the history
With an example as we have with the other types as well.
  • Loading branch information
Fokko authored Dec 28, 2023
1 parent f6b61ed commit 8e651d8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/content/en/docs/++version++/Specification/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 8e651d8

Please sign in to comment.