Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-16302][SQL] Set the right number of partitions for reading dat…
…a from a local collection. follow apache#13137 This pr sets the right number of partitions when reading data from a local collection. Query 'val df = Seq((1, 2)).toDF("key", "value").count' always use defaultParallelism tasks. So it causes run many empty or small tasks. Manually tested and checked. Author: Lianhui Wang <[email protected]> Closes apache#13979 from lianhuiwang/localTable-Parallel.
- Loading branch information