Skip to content

Commit

Permalink
[FLINK-21042][docs] Fix code example in "Aggregate Functions" section…
Browse files Browse the repository at this point in the history
… in Table UDF page

This closes apache#14702
  • Loading branch information
RocMarshal committed Jan 21, 2021
1 parent e687629 commit e5d81d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dev/table/functions/udfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit e5d81d4

Please sign in to comment.