robertwb commented on code in PR #32093:
URL: https://github.com/apache/beam/pull/32093#discussion_r1711712821
##########
sdks/python/apache_beam/yaml/yaml_io.py:
##########
@@ -225,9 +229,11 @@ def _create_parser(
schema_pb2.Schema(fields=[schemas.schema_field('payload', bytes)]),
lambda payload: beam.Row(payload=payload))
elif format == 'JSON':
+ _validate_schema()
beam_schema = json_utils.json_schema_to_beam_schema(schema)
Review Comment:
Are the errors this raises on bad/unsupported schemas informative enough?
--
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]