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)