This is an automated email from the ASF dual-hosted git repository. fokko pushed a commit to branch fd-fix-formatting in repository https://gitbox.apache.org/repos/asf/iceberg.git
commit 722e2438e489add7ebd8fabb0f1d106d22c3d533 Author: Fokko Driesprong <[email protected]> AuthorDate: Mon Jun 17 21:03:15 2024 +0200 spec: Fix formatting of Default values --- format/spec.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/format/spec.md b/format/spec.md index 6e23b2c583..e590a8b951 100644 --- a/format/spec.md +++ b/format/spec.md @@ -201,8 +201,9 @@ For details on how to serialize a schema to JSON, see Appendix C. #### Default values Default values can be tracked for struct fields (both nested structs and the top-level schema's struct). There can be two defaults with a field: -- `initial-default` is used to populate the field's value for all records that were written before the field was added to the schema -- `write-default` is used to populate the field's value for any records written after the field was added to the schema, if the writer does not supply the field's value + +* `initial-default` is used to populate the field's value for all records that were written before the field was added to the schema +* `write-default` is used to populate the field's value for any records written after the field was added to the schema, if the writer does not supply the field's value The `initial-default` is set only when a field is added to an existing schema. The `write-default` is initially set to the same value as `initial-default` and can be changed through schema evolution. If either default is not set for an optional field, then the default value is null for compatibility with older spec versions.
