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

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


The following commit(s) were added to refs/heads/master by this push:
     new e5d81d4  [FLINK-21042][docs] Fix code example in "Aggregate Functions" 
section in Table UDF page
e5d81d4 is described below

commit e5d81d41f1ef9f843fbc46bbd9a48bb9a616adb6
Author: Roc Marshal <[email protected]>
AuthorDate: Thu Jan 21 11:09:32 2021 +0800

    [FLINK-21042][docs] Fix code example in "Aggregate Functions" section in 
Table UDF page
    
    This closes #14702
---
 docs/dev/table/functions/udfs.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/dev/table/functions/udfs.md b/docs/dev/table/functions/udfs.md
index 02d1614..7455233 100644
--- a/docs/dev/table/functions/udfs.md
+++ b/docs/dev/table/functions/udfs.md
@@ -1020,7 +1020,7 @@ env
 
 // call registered function in SQL
 env.sqlQuery(
-  "SELECT myField, WeightedAvg(value, weight) FROM MyTable GROUP BY myField"
+  "SELECT myField, WeightedAvg(`value`, weight) FROM MyTable GROUP BY myField"
 );
 {% endhighlight %}
 </div>
@@ -1096,7 +1096,7 @@ env
 
 // call registered function in SQL
 env.sqlQuery(
-  "SELECT myField, WeightedAvg(value, weight) FROM MyTable GROUP BY myField"
+  "SELECT myField, WeightedAvg(`value`, weight) FROM MyTable GROUP BY myField"
 )
 {% endhighlight %}
 </div>

Reply via email to