Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/6518#discussion_r32779200
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -825,11 +825,11 @@ class SparkContext(config: SparkConf) extends Logging
with ExecutorAllocationCli
*
* @note Small files are preferred, large file is also allowable, but
may cause bad performance.
*
- * @param minPartitions A suggestion value of the minimal splitting
number for input data.
+ * @param maxPartitions A suggestion value of the maximal splitting
number for input data.
*/
def wholeTextFiles(
path: String,
- minPartitions: Int = defaultMinPartitions): RDD[(String, String)] =
withScope {
+ maxPartitions: Int = defaultMinPartitions): RDD[(String, String)] =
withScope {
--- End diff --
it's strange that this still defaults to `defaultMinPartitions`. Does that
need to be fixed as well?
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]