You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Wei Zhong (Jira)" <ji...@apache.org> on 2020/05/09 03:05:00 UTC

[jira] [Created] (FLINK-17585) "PythonProgramOptions" changes the entry point class when user submit a Java sql job which contains Python UDF

Wei Zhong created FLINK-17585:
---------------------------------

             Summary: "PythonProgramOptions" changes the entry point class when user submit a Java sql job which contains Python UDF 
                 Key: FLINK-17585
                 URL: https://issues.apache.org/jira/browse/FLINK-17585
             Project: Flink
          Issue Type: Bug
          Components: API / Python
            Reporter: Wei Zhong


If we running such a command:
{code:java}
flink run -pyfs xxx.py xxx.jar
{code}
The main class will be changed to "PythonDriver". It is because the "PythonProgramOptions" class changes the entry point class when the python command line options are detected. We should consider the situation that user submit a Java sql job which contains Python UDF. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)