[
https://issues.apache.org/jira/browse/FLINK-21042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roc Marshal updated FLINK-21042:
--------------------------------
Description:
The markdown file location: flink/docs/dev/table/functions/udfs.md
The target url :
[https://ci.apache.org/projects/flink/flink-docs-master/dev/table/functions/udfs.html#aggregate-functions]
The original content:
*SELECT myField, WeightedAvg(value, weight) FROM MyTable GROUP BY myField*
The 'value' is a reserved keyword of the flink table module,So the correct
usage should to execute in back quotes .
_*SELECT myField, WeightedAvg(`value`, weight) FROM MyTable GROUP BY myField*_
was:
The markdown file location: flink/docs/dev/table/functions/udfs.zh.md &
flink/docs/dev/table/functions/udfs.md
The target url :
[https://ci.apache.org/projects/flink/flink-docs-master/dev/table/functions/udfs.html#aggregate-functions]
The original content:
*SELECT myField, WeightedAvg(value, weight) FROM MyTable GROUP BY myField*
The 'value' is a reserved keyword of the flink table module,So the correct
usage should to execute in back quotes .
_*SELECT myField, WeightedAvg(`value`, weight) FROM MyTable GROUP BY myField*_
> Correct the error in the code example in page 'aggregate-functions'.
> --------------------------------------------------------------------
>
> Key: FLINK-21042
> URL: https://issues.apache.org/jira/browse/FLINK-21042
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 1.13.0, 1.12.1
> Reporter: Roc Marshal
> Priority: Major
> Labels: Document, Documentation, docuentation
>
> The markdown file location: flink/docs/dev/table/functions/udfs.md
> The target url :
> [https://ci.apache.org/projects/flink/flink-docs-master/dev/table/functions/udfs.html#aggregate-functions]
>
> The original content:
> *SELECT myField, WeightedAvg(value, weight) FROM MyTable GROUP BY myField*
>
> The 'value' is a reserved keyword of the flink table module,So the correct
> usage should to execute in back quotes .
> _*SELECT myField, WeightedAvg(`value`, weight) FROM MyTable GROUP BY myField*_
--
This message was sent by Atlassian Jira
(v8.3.4#803005)