Github user 10110346 commented on the issue: https://github.com/apache/spark/pull/22723 In fact, `BinaryFileRDD ` uses `max(defaultParallelism, minPartitions)`: `BinaryFileRDD --->setMinPartitions--->Math.max(sc.defaultParallelism, minPartitions)`. In addition, for this unit test: https://github.com/apache/spark/blob/b80bf66a8109faa7f58d45b92417a981666866a0/core/src/test/scala/org/apache/spark/FileSuite.scala#L304 if we set `spark.default.parallelism=3`, the result will not be what we expected.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org