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

Inconsistent naming of DataSet reduceGroup and GroupReduceFunction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      I don't know if it is on purpose or not, but I found it to be inconsistent and sometimes also confusing:

      Why not

      input.groupReduce(new GroupReduceFunction() {...})
      

      instead of the current

      input.reduceGroup(new GroupReduceFunction() {...})
      

      I think it's the same line of thinking, which results in overriding a reduce method in GroupReduceFunction instead of a groupReduce method.

      Is there a nice way to unify this?

      Attachments

        Activity

          People

            Unassigned Unassigned
            uce Ufuk Celebi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: