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 Burke (JIRA)" <ji...@apache.org> on 2019/01/23 23:59:00 UTC

[jira] [Resolved] (BEAM-4472) Go SDK - Rewrite top.go accumulator to be encodable.

     [ https://issues.apache.org/jira/browse/BEAM-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Burke resolved BEAM-4472.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Not applicable

The accum type is now codable, via the JSON hook, making it liftable as well.

> Go SDK - Rewrite top.go accumulator to be encodable.
> ----------------------------------------------------
>
>                 Key: BEAM-4472
>                 URL: https://issues.apache.org/jira/browse/BEAM-4472
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Robert Burke
>            Assignee: Robert Burke
>            Priority: Major
>             Fix For: Not applicable
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Related to, but does not require, BEAM-4276 to be completed first.
> An unencodable accumulator type prevents the Top combination from being lifted, as in a lifted combine, the accumulator type is used in a GBK.
> The accumulator type current contains a field of []interface{} which is not an encodable type.
> Ideally, such an implementation will not constantly decode > process element > reencode when processing elements for comparison.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)