[
https://issues.apache.org/jira/browse/BEAM-5382?focusedWorklogId=145757&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-145757
]
ASF GitHub Bot logged work on BEAM-5382:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Sep/18 18:31
Start Date: 19/Sep/18 18:31
Worklog Time Spent: 10m
Work Description: schroederc opened a new pull request #6434: [BEAM-5382]
Add fallback for non-binary MergeAccumulatorsFn
URL: https://github.com/apache/beam/pull/6434
Allow non-binary MergeAccumulators functions (e.g. context parameters and
error return values) while maintaining the existing fast path for binary
functions.
Post-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark
--- | --- | --- | --- | --- | --- | --- | ---
Go | [](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/)
| --- | --- | --- | --- | --- | ---
Java | [](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/)
Python | [](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)
</br> [](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
| --- | --- | --- | ---
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 145757)
Time Spent: 10m
Remaining Estimate: 0h
> 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
> Time Spent: 10m
> 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)
