damccorm opened a new issue, #20927: URL: https://github.com/apache/beam/issues/20927
FastPrimitivesCodeImpl has "fallback" deterministic encoding of certain types in encode_special_deterministic. This encoding is not as efficient as a type-specific coder (https://github.com/apache/beam/pull/14455). This bug is to implement type-specific coders for the types supported in encode_special_deterministic. This method will still handle encoding for cases in which type information is not available, and the new coders will be used where type hints are available. Types to implement coders for: enum.Enum, dataclasses.dataclass, collections.namedtuple / typing.NamedTuple (verify there's no conflict/duplication with RowCoder) Imported from Jira [BEAM-12136](https://issues.apache.org/jira/browse/BEAM-12136). Original Jira may contain additional context. Reported by: udim. -- 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]
