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

    https://github.com/apache/spark/pull/21102#discussion_r205930801
  
    --- Diff: 
core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala ---
    @@ -272,7 +272,7 @@ class OpenHashSet[@specialized(Long, Int) T: ClassTag](
     
       private def nextPowerOf2(n: Int): Int = {
         if (n == 0) {
    -      1
    +      2
    --- End diff --
    
    Oh, good catch.


---

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

Reply via email to