RyanSkraba commented on pull request #965:
URL: https://github.com/apache/avro/pull/965#issuecomment-709389513


   > what's the point of allowing to generate getters for non nullable fields? 
is due to backwards compatibility issues
   
   A non-nullable field can still be null if it's unset, so `None` for that 
field would indicate that the record isn't (yet) valid.  The semantics around 
this is pretty inelegant -- I don't think it's ever possible to distinguish 
between an unset field and field set to null.


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

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


Reply via email to