dianfu commented on a change in pull request #8472: [FLINK-12327][python] Adds
support to submit Python Table API job in CliFrontend
URL: https://github.com/apache/flink/pull/8472#discussion_r285556907
##########
File path:
flink-clients/src/main/java/org/apache/flink/client/program/PackagedProgram.java
##########
@@ -233,6 +253,11 @@ public PackagedProgram(Class<?> entryPointClass,
String... args) throws ProgramI
// load the entry point class
this.mainClass = entryPointClass;
+ if (entryPointClass == PythonDriver.class) {
Review comment:
Can be simplified to `isPython = entryPointClass == PythonDriver.class;`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services