You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 17:08:58 UTC

[GitHub] [beam] damccorm opened a new issue, #20356: Group.globally().aggregate(Count.combineFn())) Throws Error

damccorm opened a new issue, #20356:
URL: https://github.com/apache/beam/issues/20356

   Trying to Count the number of rows in a window with Group and Combiner (as opposed to GroupBy "*" or a any field), but get an error:
   
                   .apply("WindowByMinute", Window.into(FixedWindows.of(Duration.standardSeconds(60))))
                   .apply("CountPerMinute", Group.<Row\>globally().aggregate(Count.combineFn()))
   threw:
   ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project advanced-dataflow-lab: An exception occured while executing the Java class. If the input collection uses a windowing strategy other than GlobalWindows, use Combine.globally(Count.<T\>combineFn()).withoutDefaults() instead. -\> 
   
   Reuven Lax has indicated this is likely a bug.
   
   Imported from Jira [BEAM-10297](https://issues.apache.org/jira/browse/BEAM-10297). Original Jira may contain additional context.
   Reported by: dhodun.


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org