This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/asf-site by this push: new 5b5a85e Publishing website 2021/03/19 00:03:27 at commit 195bbf3 5b5a85e is described below commit 5b5a85eee43e9bf4fe5fe95a8952bbbe06f90555 Author: jenkins <bui...@apache.org> AuthorDate: Fri Mar 19 00:03:27 2021 +0000 Publishing website 2021/03/19 00:03:27 at commit 195bbf3 --- website/generated-content/documentation/index.xml | 2 +- website/generated-content/documentation/programming-guide/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/generated-content/documentation/index.xml b/website/generated-content/documentation/index.xml index fbf52f9..6ffe472 100644 --- a/website/generated-content/documentation/index.xml +++ b/website/generated-content/documentation/index.xml @@ -7323,7 +7323,7 @@ a single global window for a <code>PCollection</code>:</p> <img src="/images/copy-icon.svg"/> </a> <div class="highlight"><pre class="chroma"><code class="language-py" data-lang="py"><span class="kn">from</span> <span class="nn">apache_beam</span> <span class="kn">import</span> <span class="n">window</span> -<span class="n">session_windowed_items</span> <span class="o">=</span> <span class="p">(</span> +<span class="n">global_windowed_items</span> <span class="o">=</span> <span class="p">(</span> <span class="n">items</span> <span class="o">|</span> <span class="s1">&#39;window&#39;</span> <span class="o">&gt;&gt;</span> <span class="n">beam</span><span class="o">.</span><span class="n">WindowInto</span><span class="p">(</span><span class="n">window</span><span class="o">.</span><span class="n">GlobalWindows</span><span class="p">()))</span></code></pre></div> </div> </div> diff --git a/website/generated-content/documentation/programming-guide/index.html b/website/generated-content/documentation/programming-guide/index.html index 62e7c82..e407d0c 100644 --- a/website/generated-content/documentation/programming-guide/index.html +++ b/website/generated-content/documentation/programming-guide/index.html @@ -1939,7 +1939,7 @@ elements to a single global window. The following example code shows how to set a single global window for a <code>PCollection</code>:</p><div class="language-java snippet"><div class="notebook-skip code-snippet"><a class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img src=/images/copy-icon.svg></a><div class=highlight><pre class=chroma><code class=language-java data-lang=java> <span class=n>PCollection</span><span class=o><</span><span class=n>String</span><span class=o>></span> <span class=n>items</span> <sp [...] <span class=n>PCollection</span><span class=o><</span><span class=n>String</span><span class=o>></span> <span class=n>batchItems</span> <span class=o>=</span> <span class=n>items</span><span class=o>.</span><span class=na>apply</span><span class=o>(</span> <span class=n>Window</span><span class=o>.<</span><span class=n>String</span><span class=o>></span><span class=n>into</span><span class=o>(</span><span class=k>new</span> <span class=n>GlobalWindows</span><span class=o>()));</span></code></pre></div></div></div><div class="language-py snippet"><div class="notebook-skip code-snippet"><a class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img src=/images/copy-icon.svg></a><div cla [...] -<span class=n>session_windowed_items</span> <span class=o>=</span> <span class=p>(</span> +<span class=n>global_windowed_items</span> <span class=o>=</span> <span class=p>(</span> <span class=n>items</span> <span class=o>|</span> <span class=s1>'window'</span> <span class=o>>></span> <span class=n>beam</span><span class=o>.</span><span class=n>WindowInto</span><span class=p>(</span><span class=n>window</span><span class=o>.</span><span class=n>GlobalWindows</span><span class=p>()))</span></code></pre></div></div></div><h3 id=watermarks-and-late-data>8.4. Watermarks and late data</h3><p>In any data processing system, there is a certain amount of l [...] a data event occurs (the “event time”, determined by the timestamp on the data element itself) and the time the actual data element gets processed at any stage