You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/01/12 03:50:06 UTC
[jira] [Updated] (BEAM-12136) Add deterministic coders for common Python types
[ https://issues.apache.org/jira/browse/BEAM-12136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Knowles updated BEAM-12136:
-----------------------------------
This Jira ticket has a pull request attached to it, but is still open. Did the pull request resolve the issue? If so, could you please mark it resolved? This will help the project have a clear view of its open issues.
> Add deterministic coders for common Python types
> ------------------------------------------------
>
> Key: BEAM-12136
> URL: https://issues.apache.org/jira/browse/BEAM-12136
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py-core
> Reporter: Udi Meiri
> Priority: P3
> Labels: TFX+Beam, types
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> 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)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)