You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2023/07/27 05:58:44 UTC
[avro] branch master updated: Fix doc. (#2395)
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/master by this push:
new f033de6b3 Fix doc. (#2395)
f033de6b3 is described below
commit f033de6b3ba67343b1716323b9c1e892aa2fa2e7
Author: Kousuke Saruta <sa...@apache.org>
AuthorDate: Thu Jul 27 14:58:37 2023 +0900
Fix doc. (#2395)
---
doc/content/en/docs/++version++/Specification/_index.md | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/doc/content/en/docs/++version++/Specification/_index.md b/doc/content/en/docs/++version++/Specification/_index.md
index df641e2db..30494e073 100755
--- a/doc/content/en/docs/++version++/Specification/_index.md
+++ b/doc/content/en/docs/++version++/Specification/_index.md
@@ -75,6 +75,8 @@ Records use the type name "record" and support the following attributes:
* _name_: a JSON string providing the name of the field (required), and
* _doc_: a JSON string describing this field for users (optional).
* _type_: a [schema]({{< ref "#schema-declaration" >}} "Schema declaration"), as defined above
+ * _order_: specifies how this field impacts sort ordering of this record (optional). Valid values are "ascending" (the default), "descending", or "ignore". For more details on how this is used, see the sort order section below.
+ * _aliases_: a JSON array of strings, providing alternate names for this field (optional).
* _default_: A default value for this field, only used when reading instances that lack the field for schema evolution purposes. The presence of a default value does not make the field optional at encoding time. Permitted values depend on the field's schema type, according to the table below. Default values for union fields correspond to the first schema in the union. Default values for bytes and fixed fields are JSON strings, where Unicode code points 0-255 are mapped to unsigned 8-bi [...]
*field default values*
@@ -93,9 +95,6 @@ Records use the type name "record" and support the following attributes:
| map | object | `{"a": 1}` |
| fixed | string | `"\u00ff"` |
- * _order_: specifies how this field impacts sort ordering of this record (optional). Valid values are "ascending" (the default), "descending", or "ignore". For more details on how this is used, see the sort order section below.
- * _aliases_: a JSON array of strings, providing alternate names for this field (optional).
-
For example, a linked-list of 64-bit values may be defined with:
```jsonc
{