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 24df1663565 Publishing website 2023/08/07 22:15:39 at commit 450d801
24df1663565 is described below

commit 24df166356504f19b56adb239ee228339bdef12e
Author: jenkins <bui...@apache.org>
AuthorDate: Mon Aug 7 22:15:39 2023 +0000

    Publishing website 2023/08/07 22:15:39 at commit 450d801
---
 website/generated-content/documentation/index.xml                | 8 ++++----
 .../generated-content/documentation/programming-guide/index.html | 9 +++++----
 website/generated-content/sitemap.xml                            | 2 +-
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/website/generated-content/documentation/index.xml 
b/website/generated-content/documentation/index.xml
index 9f7aa4197ff..5abf4d553e7 100644
--- a/website/generated-content/documentation/index.xml
+++ b/website/generated-content/documentation/index.xml
@@ -6365,7 +6365,8 @@ that value in any way.&lt;/li>
 &lt;a class="copy" type="button" data-bs-toggle="tooltip" 
data-bs-placement="bottom" title="Copy to clipboard">
 &lt;img src="/images/copy-icon.svg"/>
 &lt;/a>
-&lt;div class="highlight">&lt;pre class="chroma">&lt;code class="language-go" 
data-lang="go">&lt;span class="c1">// words is the input PCollection of strings
+&lt;div class="highlight">&lt;pre class="chroma">&lt;code class="language-go" 
data-lang="go">&lt;span class="nx">The&lt;/span> &lt;span 
class="nx">Go&lt;/span> &lt;span class="nx">SDK&lt;/span> &lt;span 
class="nx">cannot&lt;/span> &lt;span class="nx">support&lt;/span> &lt;span 
class="nx">anonymous&lt;/span> &lt;span class="nx">functions&lt;/span> &lt;span 
class="nx">outside&lt;/span> &lt;span class="nx">of&lt;/span> &lt;span 
class="nx">the&lt;/span> &lt;span class="nx">deprecated&lt;/spa [...]
+&lt;span class="c1">// words is the input PCollection of strings
 &lt;/span>&lt;span class="c1">&lt;/span>&lt;span class="kd">var&lt;/span> 
&lt;span class="nx">words&lt;/span> &lt;span class="nx">beam&lt;/span>&lt;span 
class="p">.&lt;/span>&lt;span class="nx">PCollection&lt;/span> &lt;span 
class="p">=&lt;/span> &lt;span class="o">...&lt;/span>
 &lt;span class="nx">lengths&lt;/span> &lt;span class="o">:=&lt;/span> &lt;span 
class="nx">beam&lt;/span>&lt;span class="p">.&lt;/span>&lt;span 
class="nf">ParDo&lt;/span>&lt;span class="p">(&lt;/span>&lt;span 
class="nx">s&lt;/span>&lt;span class="p">,&lt;/span> &lt;span 
class="kd">func&lt;/span> &lt;span class="p">(&lt;/span>&lt;span 
class="nx">word&lt;/span> &lt;span class="kt">string&lt;/span>&lt;span 
class="p">,&lt;/span> &lt;span class="nx">emit&lt;/span> &lt;span 
class="kd">func&lt;/ [...]
 &lt;span class="nf">emit&lt;/span>&lt;span class="p">(&lt;/span>&lt;span 
class="nb">len&lt;/span>&lt;span class="p">(&lt;/span>&lt;span 
class="nx">word&lt;/span>&lt;span class="p">))&lt;/span>
@@ -6423,8 +6424,7 @@ Java 8 lambda function for additional 
brevity.&lt;/span>&lt;/p>
 &lt;a class="copy" type="button" data-bs-toggle="tooltip" 
data-bs-placement="bottom" title="Copy to clipboard">
 &lt;img src="/images/copy-icon.svg"/>
 &lt;/a>
-&lt;div class="highlight">&lt;pre class="chroma">&lt;code class="language-go" 
data-lang="go">&lt;span class="c1">// words is the input PCollection of strings
-&lt;/span>&lt;span class="c1">&lt;/span>&lt;span class="kd">var&lt;/span> 
&lt;span class="nx">words&lt;/span> &lt;span class="nx">beam&lt;/span>&lt;span 
class="p">.&lt;/span>&lt;span class="nx">PCollection&lt;/span> &lt;span 
class="p">=&lt;/span> &lt;span class="o">...&lt;/span>
+&lt;div class="highlight">&lt;pre class="chroma">&lt;code class="language-go" 
data-lang="go">&lt;span class="nx">The&lt;/span> &lt;span 
class="nx">Go&lt;/span> &lt;span class="nx">SDK&lt;/span> &lt;span 
class="nx">cannot&lt;/span> &lt;span class="nx">support&lt;/span> &lt;span 
class="nx">anonymous&lt;/span> &lt;span class="nx">functions&lt;/span> &lt;span 
class="nx">outside&lt;/span> &lt;span class="nx">of&lt;/span> &lt;span 
class="nx">the&lt;/span> &lt;span class="nx">deprecated&lt;/spa [...]
 &lt;span class="kd">func&lt;/span> &lt;span 
class="nf">wordLengths&lt;/span>&lt;span class="p">(&lt;/span>&lt;span 
class="nx">word&lt;/span> &lt;span class="kt">string&lt;/span>&lt;span 
class="p">)&lt;/span> &lt;span class="kt">int&lt;/span> &lt;span 
class="p">{&lt;/span> &lt;span class="k">return&lt;/span> &lt;span 
class="nb">len&lt;/span>&lt;span class="p">(&lt;/span>&lt;span 
class="nx">word&lt;/span>&lt;span class="p">)&lt;/span> &lt;span 
class="p">}&lt;/span>
 &lt;span class="kd">func&lt;/span> &lt;span class="nf">init&lt;/span>&lt;span 
class="p">()&lt;/span> &lt;span class="p">{&lt;/span> &lt;span 
class="nx">register&lt;/span>&lt;span class="p">.&lt;/span>&lt;span 
class="nf">Function1x1&lt;/span>&lt;span class="p">(&lt;/span>&lt;span 
class="nx">wordLengths&lt;/span>&lt;span class="p">)&lt;/span> &lt;span 
class="p">}&lt;/span>
 &lt;span class="kd">func&lt;/span> &lt;span 
class="nf">applyWordLenAnon&lt;/span>&lt;span class="p">(&lt;/span>&lt;span 
class="nx">s&lt;/span> &lt;span class="nx">beam&lt;/span>&lt;span 
class="p">.&lt;/span>&lt;span class="nx">Scope&lt;/span>&lt;span 
class="p">,&lt;/span> &lt;span class="nx">words&lt;/span> &lt;span 
class="nx">beam&lt;/span>&lt;span class="p">.&lt;/span>&lt;span 
class="nx">PCollection&lt;/span>&lt;span class="p">)&lt;/span> &lt;span 
class="nx">beam&lt;/span>&lt;span clas [...]
@@ -6451,7 +6451,7 @@ transforms, including &lt;code>Filter&lt;/code>, 
&lt;code>FlatMapElements&lt;/co
 &lt;/span>
 &lt;span class="language-go">
 &lt;blockquote>
-&lt;p>&lt;strong>Note:&lt;/strong> Anonymous function DoFns may not work on 
distributed runners.
+&lt;p>&lt;strong>Note:&lt;/strong> Anonymous function DoFns do not work on 
distributed runners.
 It&amp;rsquo;s recommended to use named functions and register them with 
&lt;code>register.FunctionXxY&lt;/code> in
 an &lt;code>init()&lt;/code> block.&lt;/p>
 &lt;/blockquote>
diff --git 
a/website/generated-content/documentation/programming-guide/index.html 
b/website/generated-content/documentation/programming-guide/index.html
index 45dc811b6d0..05229ee7c3c 100644
--- a/website/generated-content/documentation/programming-guide/index.html
+++ b/website/generated-content/documentation/programming-guide/index.html
@@ -674,7 +674,9 @@ that value in any way.</li></ul></span><h5 
id=lightweight-dofns>4.2.1.3. Lightwe
 <span class=c1># Apply a lambda function to the PCollection words.</span>
 <span class=c1># Save the result as the PCollection word_lengths.</span>
 
-<span class=n>word_lengths</span> <span class=o>=</span> <span 
class=n>words</span> <span class=o>|</span> <span class=n>beam</span><span 
class=o>.</span><span class=n>FlatMap</span><span class=p>(</span><span 
class=k>lambda</span> <span class=n>word</span><span class=p>:</span> <span 
class=p>[</span><span class=nb>len</span><span class=p>(</span><span 
class=n>word</span><span class=p>)])</span></code></pre></div></div></div><div 
class="language-go snippet"><div class="notebook-skip code [...]
+<span class=n>word_lengths</span> <span class=o>=</span> <span 
class=n>words</span> <span class=o>|</span> <span class=n>beam</span><span 
class=o>.</span><span class=n>FlatMap</span><span class=p>(</span><span 
class=k>lambda</span> <span class=n>word</span><span class=p>:</span> <span 
class=p>[</span><span class=nb>len</span><span class=p>(</span><span 
class=n>word</span><span class=p>)])</span></code></pre></div></div></div><div 
class="language-go snippet"><div class="notebook-skip code [...]
+
+<span class=c1>// words is the input PCollection of strings
 </span><span class=c1></span><span class=kd>var</span> <span 
class=nx>words</span> <span class=nx>beam</span><span class=p>.</span><span 
class=nx>PCollection</span> <span class=p>=</span> <span class=o>...</span>
 
 <span class=nx>lengths</span> <span class=o>:=</span> <span 
class=nx>beam</span><span class=p>.</span><span class=nf>ParDo</span><span 
class=p>(</span><span class=nx>s</span><span class=p>,</span> <span 
class=kd>func</span> <span class=p>(</span><span class=nx>word</span> <span 
class=kt>string</span><span class=p>,</span> <span class=nx>emit</span> <span 
class=kd>func</span><span class=p>(</span><span class=kt>int</span><span 
class=p>))</span> <span class=p>{</span>
@@ -703,8 +705,7 @@ Java 8 lambda function for additional 
brevity.</span></p><p>Here&rsquo;s the pre
 <span class=c1># Apply a Map with a lambda function to the PCollection 
words.</span>
 <span class=c1># Save the result as the PCollection word_lengths.</span>
 
-<span class=n>word_lengths</span> <span class=o>=</span> <span 
class=n>words</span> <span class=o>|</span> <span class=n>beam</span><span 
class=o>.</span><span class=n>Map</span><span class=p>(</span><span 
class=nb>len</span><span class=p>)</span></code></pre></div></div></div><div 
class="language-go 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 c [...]
-</span><span class=c1></span><span class=kd>var</span> <span 
class=nx>words</span> <span class=nx>beam</span><span class=p>.</span><span 
class=nx>PCollection</span> <span class=p>=</span> <span class=o>...</span>
+<span class=n>word_lengths</span> <span class=o>=</span> <span 
class=n>words</span> <span class=o>|</span> <span class=n>beam</span><span 
class=o>.</span><span class=n>Map</span><span class=p>(</span><span 
class=nb>len</span><span class=p>)</span></code></pre></div></div></div><div 
class="language-go 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 c [...]
 
 
 
@@ -718,7 +719,7 @@ Java 8 lambda function for additional 
brevity.</span></p><p>Here&rsquo;s the pre
 
 <span class=kr>const</span> <span class=nx>result</span> <span 
class=o>=</span> <span class=nx>words</span><span class=p>.</span><span 
class=nx>map</span><span class=p>((</span><span class=nx>word</span><span 
class=p>)</span> <span class=o>=&gt;</span> <span class=nx>word</span><span 
class=p>.</span><span class=nx>length</span><span class=p>);</span>
 </code></pre></div></div></div><span 
class=language-java><blockquote><p><strong>Note:</strong> You can use Java 8 
lambda functions with several other Beam
-transforms, including <code>Filter</code>, <code>FlatMapElements</code>, and 
<code>Partition</code>.</p></blockquote></span><span 
class=language-go><blockquote><p><strong>Note:</strong> Anonymous function 
DoFns may not work on distributed runners.
+transforms, including <code>Filter</code>, <code>FlatMapElements</code>, and 
<code>Partition</code>.</p></blockquote></span><span 
class=language-go><blockquote><p><strong>Note:</strong> Anonymous function 
DoFns do not work on distributed runners.
 It&rsquo;s recommended to use named functions and register them with 
<code>register.FunctionXxY</code> in
 an <code>init()</code> block.</p></blockquote></span><h5 id=dofn>4.2.1.4. DoFn 
lifecycle</h5><p>Here is a sequence diagram that shows the lifecycle of the 
DoFn during
 the execution of the ParDo transform. The comments give useful
diff --git a/website/generated-content/sitemap.xml 
b/website/generated-content/sitemap.xml
index d04c8fed3d8..e18a9b8b9ca 100644
--- a/website/generated-content/sitemap.xml
+++ b/website/generated-content/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml";><url><loc>/blog/beam-2.49.0/</loc><lastmod>2023-08-07T17:38:39+02:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2023-08-07T17:38:39+02:00</lastmod></url><url><loc>/blog/</loc><lastmod>2023-08-07T17:38:39+02:00</lastmod></url><url><loc>/categories/</loc><lastmod>2023-08-07T17:38:39+02:00</lastmod></url><url><loc>/catego
 [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml";><url><loc>/blog/beam-2.49.0/</loc><lastmod>2023-08-07T17:11:44-04:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2023-08-07T17:11:44-04:00</lastmod></url><url><loc>/blog/</loc><lastmod>2023-08-07T17:11:44-04:00</lastmod></url><url><loc>/categories/</loc><lastmod>2023-08-07T17:11:44-04:00</lastmod></url><url><loc>/catego
 [...]
\ No newline at end of file

Reply via email to