You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2021/05/07 18:03:00 UTC
[jira] [Created] (BEAM-12312) UnsupportedOperationException in
LazyAggregateCombineFn.mergeAccumulators
Kyle Weaver created BEAM-12312:
----------------------------------
Summary: 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
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)