[
https://issues.apache.org/jira/browse/BEAM-12136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17359486#comment-17359486
]
Beam JIRA Bot commented on BEAM-12136:
--------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> 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: P2
> Labels: stale-P2, 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.3.4#803005)