[
https://issues.apache.org/jira/browse/BEAM-5382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cody Schroeder resolved BEAM-5382.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
> Combiner panics at runtime if MergeAccumulators has a context parameter
> -----------------------------------------------------------------------
>
> Key: BEAM-5382
> URL: https://issues.apache.org/jira/browse/BEAM-5382
> Project: Beam
> Issue Type: Improvement
> Components: sdk-go
> Reporter: Cody Schroeder
> Assignee: Cody Schroeder
> Priority: Major
> Fix For: 2.8.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> [combine.go#L62|https://github.com/apache/beam/blob/14ef23c/sdks/go/pkg/beam/core/runtime/exec/combine.go#L62]
> assumes that a combiner's {{MergeAccumulators}} function must be 2x1 but
> {{TryCombinePerKey}} accepts combiner functions with context parameters. I
> believe accepting context parameters is the correct behavior overall.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)