[
https://issues.apache.org/jira/browse/BEAM-6255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16730897#comment-16730897
]
Robert Burke commented on BEAM-6255:
------------------------------------
Combined with a change to use *FullValues through the Unit ProcessElement
interface Method, instead of FullValue, we could use this to avoid allocations
in combiners.
> Support emit func output in the Go SDK's CombineFn ExtractOutput
> -----------------------------------------------------------------
>
> Key: BEAM-6255
> URL: https://issues.apache.org/jira/browse/BEAM-6255
> Project: Beam
> Issue Type: New Feature
> Components: sdk-go
> Reporter: Robert Burke
> Priority: Major
>
> When taking a sample or other filter, it consider supporting emitting values
> with an emit func from the accumulator rather than extract a single value.
> Otherwise general accumulators tend to go through awkward reflective code to
> construct the slice.
> Either the single value return or an emitted return should be supported.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)