You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Bradshaw (Jira)" <ji...@apache.org> on 2020/05/09 01:11:00 UTC

[jira] [Commented] (BEAM-9939) Make TupleCombineFn play well with NamedTuples

    [ https://issues.apache.org/jira/browse/BEAM-9939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17103033#comment-17103033 ] 

Robert Bradshaw commented on BEAM-9939:
---------------------------------------

The hard-coded tuple type at https://github.com/apache/beam/blob/release-2.20.0/sdks/python/apache_beam/transforms/combiners.py#L709 could be replaced.

> Make TupleCombineFn play well with NamedTuples
> ----------------------------------------------
>
>                 Key: BEAM-9939
>                 URL: https://issues.apache.org/jira/browse/BEAM-9939
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Robert Bradshaw
>            Priority: Major
>
> Given an input of NamedTuples, it should produce an output of a parameterizable type. 
> (We could consider supporting data classes as well.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)