Details
-
Bug
-
Status: Resolved
-
P3
-
Resolution: Duplicate
-
None
Description
Even though it is acceptable to create a WindowedValue carrying no windows when it is a fully reified WindowedValue<T>, it doesn't really make sense: When it becomes an element in a PCollection that a value must exist within some window.
This has led to some confusion so we should remove the API. It seems there are just 11 files that reference WindowedValue.valueInEmptyWindows [1] that mostly look like they'd be fine with the global window.
[1] https://github.com/apache/incubator-beam/search?p=1&q=valueInEmptyWindows&utf8=%E2%9C%93