Hi!
I am trying to use the `Count` Combine transform on Fixed windows and get
the following error:

```
java.lang.IllegalStateException: Default values are not supported in
Combine.globally() if the output PCollection is not windowed by
GlobalWindows. Instead, use Combine.globally().withoutDefaults() to output
an empty PCollection if the input PCollection is empty, or
Combine.globally().asSingletonView() to get the default output of the
CombineFn if the input PCollection is empty.
```

I get that you need to set this on combiners for non-global windows but it
is not possible to set for the `Count.globally()` transform. I can
implement this using my own CompbineFn or `Sum` transform instead of course
but still thought it was a bit strange.

Is this a bug or why is this happening?

Regards,
Vilhelm von Ehrenheim

Reply via email to