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

Refactor ParameterTool#fromArgs

    XMLWordPrintableJSON

    Details

      Description

      ParameterTool#fromArgs uses a weird implement which flink developer would fail to parse it fast.
      The main problem is that, when parse args, we always try to get a key-value pair, but the implement iterate by a for loop, thus introduce weird flag/mutable variable and branches.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Tison TisonKun
                Reporter:
                Tison TisonKun
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: