Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/799#discussion_r12723563
--- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
@@ -1166,4 +1166,16 @@ private[spark] object Utils extends Logging {
true
}
}
+
+ /**
+ * Merge a sequence of comma-separated file lists into a single
comma-separated string.
+ * The provided strings may be null or empty to indicate no files.
+ */
+ def mergeFileLists(lists: String*): String = {
--- End diff --
Why was this moved to Utils? The code to deal with nulls and empty strings
and such is pretty specific to `spark-submit`, we don't need other parts of
Spark to use it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---