rdblue commented on a change in pull request #4301:
URL: https://github.com/apache/iceberg/pull/4301#discussion_r835502912



##########
File path: format/spec.md
##########
@@ -193,6 +193,13 @@ Notes:
 
 For details on how to serialize a schema to JSON, see Appendix C.
 
+#### Default value
+
+Default value can be assigned to top-level columns or nested fields when they 
are added to an Iceberg table as part of the schema evolution. The first time a 
default value is added, this default value is used to read rows belonging to 
the files that lack the column (i.e. the files were written before the column 
is added), this default value will also be the default value for the column if 
user later inserts new rows without specifying the column.

Review comment:
       Yeah, the spec is definitely not user-facing. It is a clear definition 
of what metadata we are tracking and how it must be used in tables.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to