cozos commented on issue #22986:
URL: https://github.com/apache/beam/issues/22986#issuecomment-1235493876

   I've tried to prevalidate my pcoll with 
[fastavro.validate](https://github.com/fastavro/fastavro/blob/073da50afaec729f66caea357538417118ae7619/fastavro/_validation.pyx#L301)
 but it seems to be very expensive - 15X CPU hours for my tests. I think this 
is because `fastavro.writer` uses efficient static typing to validate the 
schema but `fastavro.validate` does explicit type checking (i.e. isinstance)


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

Reply via email to