kennknowles commented on a change in pull request #15778:
URL: https://github.com/apache/beam/pull/15778#discussion_r760642640
##########
File path: website/www/site/content/en/documentation/basics.md
##########
@@ -365,6 +373,76 @@ For more information about runners, see the following
pages:
* [Choosing a Runner](/documentation/#choosing-a-runner)
* [Beam Capability Matrix](/documentation/runners/capability-matrix/)
+### Window
+
+Windowing subdivides a `PCollection` into _windows_ according to the timestamps
+of its individual elements. Windows enable grouping operations over unbounded
+collections by dividing the collection into windows of finite collections. A
+windowing function tells the runner how to assign elements to an initial
window,
Review comment:
You are 100% correct on all counts. The `WindowFn` takes an element as
input and returns zero or more windows. The element is (conceptually)
duplicated into each of those windows. So to be clear: in a PCollection each
element is in precisely 1 window. But the function that says which window(s) to
put it in can specify multiple, or none.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]