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

Rework PythonSender/-Streamer generics

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: Python API
    • Labels:
      None

      Description

      The PythonSender/PythonStreamer classes make heavy use of raw-types or wildcards. This is done since both classes deal with the cases of the operation having 1 or 2 input types, the differentiation of which is done completely by an int argument.

      We can clean this rather insane code up a bit by creating dedicated sub-classes for 1 or 2 inputs.

      The PythonSender also contains multiple unused methods that we can remove while we're at it.

        Activity

        Hide
        Zentol Chesnay Schepler added a comment -

        1.3: a7251c56d0d03293f95f0e3b084326a96fe50ce3

        Show
        Zentol Chesnay Schepler added a comment - 1.3: a7251c56d0d03293f95f0e3b084326a96fe50ce3

          People

          • Assignee:
            Zentol Chesnay Schepler
            Reporter:
            Zentol Chesnay Schepler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development