[jira] [Created] (FLINK-8108) Wrong args bound check in PythonPlanBinder

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8108) Wrong args bound check in PythonPlanBinder

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-8108:
---------------------------------------

             Summary: Wrong args bound check in PythonPlanBinder
                 Key: FLINK-8108
                 URL: https://issues.apache.org/jira/browse/FLINK-8108
             Project: Flink
          Issue Type: Bug
          Components: Python API
    Affects Versions: 1.4.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
            Priority: Critical
             Fix For: 1.4.0


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)