Tishj commented on PR #17320:
URL: https://github.com/apache/iceberg/pull/17320#issuecomment-5061800214

   > Maybe we should test based on the spec example:
   > 
   > > Default values for fields that are nested structs must not contain 
default values for the struct's fields (sub-fields).
   > 
   > > For example, a struct column point with fields x (default 0) and y 
(default 0) can be defaulted to {"x": 0, "y": 0} or null. A non-null default is 
stored by setting initial-default or write-default to an empty struct ({}) that 
will use field values set from each field's initial-default or write-default, 
respectively.
   > 
   > If I understand correctly, the `{}` default is not working - this might 
worth a different PR as the `{}` is currently rejected.
   
   #16596 


-- 
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