Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-10546] Check partitionId's range in ExternalSorter#spill()
See this thread for background: http://search-hadoop.com/m/q3RTt0rWvIkHAE81 We should check the range of partition Id and provide meaningful message through exception. Alternatively, we can use abs() and modulo to force the partition Id into legitimate range. However, expectation is that user should correct the logic error in his / her code. Author: tedyu <yuzhihong@gmail.com> Closes #8703 from tedyu/master.
- Loading branch information