mattalbr commented on issue #33802: URL: https://github.com/apache/beam/issues/33802#issuecomment-4491133149
Thank you for the clarification! Is there an easy way to check whether FastPrimitivesCoder will fall back to PickleCoder for a given type? From a brief perusing of https://github.com/apache/beam/blob/master/sdks/python/apache_beam/coders/coder_impl.py#L404 it looks like `frozenset` is not in the supported list and thus would fallback to pickling, is that correct? That's a bit surprising to me given that pcollection values are not supposed to be mutated, so I figured using frozenset would be best practice rather than set, but perhaps got that exactly backwards -- 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]
