[ https://issues.apache.org/jira/browse/BEAM-12312?focusedWorklogId=593567&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-593567 ]
ASF GitHub Bot logged work on BEAM-12312: ----------------------------------------- Author: ASF GitHub Bot Created on: 07/May/21 21:59 Start Date: 07/May/21 21:59 Worklog Time Spent: 10m Work Description: ibzib commented on pull request #14762: URL: https://github.com/apache/beam/pull/14762#issuecomment-834809223 R: @apilloud Confirmed that UDAF actually works on Dataflow after this change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 593567) Time Spent: 20m (was: 10m) > 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 > Time Spent: 20m > Remaining Estimate: 0h > > 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)