You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2021/05/07 18:03:00 UTC

[jira] [Updated] (BEAM-12312) UnsupportedOperationException in LazyAggregateCombineFn.mergeAccumulators

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

Kenneth Knowles updated BEAM-12312:
-----------------------------------
    Status: Open  (was: Triage Needed)

> UnsupportedOperationException in LazyAggregateCombineFn.mergeAccumulators
> -------------------------------------------------------------------------
>
>                 Key: BEAM-12312
>                 URL: https://issues.apache.org/jira/browse/BEAM-12312
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql-zetasql
>            Reporter: Kyle Weaver
>            Assignee: Kyle Weaver
>            Priority: P2
>              Labels: zetasql-java-udf
>
> Another thing that works on the direct runner but fails on Dataflow: LazyAggregateCombineFn.mergeAccumulators [1] throws an UnsupportedOperationException because the "remove" method is not implemented in CombineFns$ProjectionIterable [2]. We will have to modify the implementation of LazyAggregateCombineFn.mergeAccumulators accordingly.
> [1] https://github.com/apache/beam/blob/8a622651edb3a2054865ff411579d3e04c02629a/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/LazyAggregateCombineFn.java#L78
> [2] https://github.com/apache/beam/blob/8a622651edb3a2054865ff411579d3e04c02629a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/CombineFns.java#L642



--
This message was sent by Atlassian Jira
(v8.3.4#803005)