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

    https://github.com/apache/spark/pull/21772#discussion_r203252809
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashedRelation.scala
 ---
    @@ -726,8 +726,9 @@ private[execution] final class LongToUnsafeRowMap(val 
mm: TaskMemoryManager, cap
     
         writeLong(array.length)
         writeLongArray(writeBuffer, array, array.length)
    -    val used = ((cursor - Platform.LONG_ARRAY_OFFSET) / 8).toInt
    -    writeLong(used)
    +    val cursorFlag = cursor - Platform.LONG_ARRAY_OFFSET
    +    writeLong(cursorFlag)
    +    val used = (cursorFlag / 8).toInt
    --- End diff --
    
    Can you post the image in this PR? The web site you refer contains too many 
ads.


---

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

Reply via email to