Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21042

Fix code example in "Aggregate Functions" section in Table UDF page

    XMLWordPrintableJSON

Details

    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

      Attachments

        Issue Links

          Activity

            People

              RocMarshal RocMarshal
              RocMarshal RocMarshal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: