Github user gaborgsomogyi commented on a diff in the pull request:
https://github.com/apache/spark/pull/21450#discussion_r192385912
--- Diff:
launcher/src/main/java/org/apache/spark/launcher/SparkSubmitCommandBuilder.java
---
@@ -229,7 +238,7 @@
args.add(join(",", pyFiles));
}
- if (isExample) {
+ if (isExample && requiresMainClass) {
--- End diff --
Originally I was hesitating to merge them and loose the 2 different meaning
but it's better. Added a small comment.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]