robertwb commented on PR #35288:
URL: https://github.com/apache/beam/pull/35288#issuecomment-2978490400

   By default, all properties in a json schema are optional; to declare them 
otherwise one uses the required field: 
https://json-schema.org/understanding-json-schema/reference/object#required 
which we respect in Beam: 
https://github.com/apache/beam/blob/release-2.65/sdks/python/apache_beam/yaml/json_utils.py#L67
 .
   
   This function takes as input a schema_pb2.FieldType and should respect 
whether the types in question are optional (though I'm not saying it might not 
be to strict now). 


-- 
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: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to