You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by am...@apache.org on 2020/08/04 16:46:26 UTC

[beam] branch master updated: Fix add field method in SQL walkthrough

This is an automated email from the ASF dual-hosted git repository.

amaliujia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 7620e6c  Fix add field method in SQL walkthrough
     new 51c95d8  Merge pull request #12463 from iht/fix_sql_doc
7620e6c is described below

commit 7620e6cecc945c1ca2d89784bab45058a8151a5f
Author: Israel Herraiz <ih...@google.com>
AuthorDate: Tue Aug 4 18:17:36 2020 +0200

    Fix add field method in SQL walkthrough
---
 website/www/site/content/en/documentation/dsls/sql/walkthrough.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/www/site/content/en/documentation/dsls/sql/walkthrough.md b/website/www/site/content/en/documentation/dsls/sql/walkthrough.md
index a02e14c..59ecb82 100644
--- a/website/www/site/content/en/documentation/dsls/sql/walkthrough.md
+++ b/website/www/site/content/en/documentation/dsls/sql/walkthrough.md
@@ -129,7 +129,7 @@ to either a single `PCollection` or a `PCollectionTuple` which holds multiple
           .builder()
           .addInt32Field("appId")
           .addInt32Field("reviewerId")
-          .withFloatField("rating")
+          .addFloatField("rating")
           .addDateTimeField("rowtime")
           .build();