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

Fix the incorrect Java groupBy clause in Table API docs

    XMLWordPrintableJSON

    Details

      Description

      Current groupBy method in Flink Table API missies a right parentheses

      Table revenue = orders
           .filter($("cCountry").isEqual("FRANCE"))
           .groupBy($("cID"), $("cName")
           .select($("cID"), $("cName"), $("revenue").sum().as("revSum"));
      

      It should be as following

      Table revenue = orders
           .filter($("cCountry").isEqual("FRANCE"))
           .groupBy($("cID"), $("cName"))
           .select($("cID"), $("cName"), $("revenue").sum().as("revSum"));
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                humao Huachao Mao
                Reporter:
                humao Huachao Mao
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: