[ 
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)

Reply via email to