Github user hvanhovell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19181#discussion_r143773051
  
    --- Diff: 
core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java
 ---
    @@ -503,6 +504,41 @@ public void testGetIterator() throws Exception {
         verifyIntIterator(sorter.getIterator(279), 279, 300);
       }
     
    +  @Test
    +  public void testOOMDuringSpill() throws Exception {
    +    final UnsafeExternalSorter sorter = newSorter();
    +    // we assume that given default configuration, the size of
    --- End diff --
    
    NIT NIT NIT NIT NIT NIT This comment is pretty good, but it is kind of hard 
to read because of the weird white space usage. Can you just make lines of 100 
characters


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to