-
- Downloads
[SPARK-12659] fix NPE in UnsafeExternalSorter (used by cartesian product)
Cartesian product use UnsafeExternalSorter without comparator to do spilling, it will NPE if spilling happens. This bug also hitted by #10605 cc JoshRosen Author: Davies Liu <davies@databricks.com> Closes #10606 from davies/fix_spilling.
Showing
- core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorter.java 5 additions, 2 deletions...ark/util/collection/unsafe/sort/UnsafeExternalSorter.java
- core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeInMemorySorter.java 8 additions, 9 deletions...ark/util/collection/unsafe/sort/UnsafeInMemorySorter.java
- core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java 31 additions, 0 deletions...til/collection/unsafe/sort/UnsafeExternalSorterSuite.java
- project/MimaExcludes.scala 1 addition, 0 deletionsproject/MimaExcludes.scala
Loading
Please register or sign in to comment