Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/21772#discussion_r204617884
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashedRelation.scala
---
@@ -772,6 +772,8 @@ private[execution] final class LongToUnsafeRowMap(val
mm: TaskMemoryManager, cap
array = readLongArray(readBuffer, length)
val pageLength = readLong().toInt
page = readLongArray(readBuffer, pageLength)
+ // Set cursor because cursor is used in write function.
--- End diff --
maybe: `Restore cursor variable to make this map able to be serialized
again on executors`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]