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

Wrong args bound check in PythonPlanBinder

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: API / Python
    • Labels:
      None

      Description

      As a simply sanity check the PythonPlanBinder checks the size of the program arguments.

      Originally, the minimum argument count was 2; the python version identifier (2 or 3) and the script location.

      In FLINK-6229 the python version handling was unified, but the check never adjusted. As a result, scripts that don't take any additional arguments cannot be executed.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: