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

    https://github.com/apache/spark/pull/12598#discussion_r61217298
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashedRelation.scala
 ---
    @@ -324,7 +324,9 @@ private[joins] object UnsafeHashedRelation {
      *
      * see 
http://java-performance.info/implementing-world-fastest-java-int-to-int-hash-map/
      */
    -private[execution] final class LongToUnsafeRowMap(var mm: 
TaskMemoryManager, capacity: Int)
    +private[execution] final class LongToUnsafeRowMap(
    +    @transient val mm: TaskMemoryManager,
    --- End diff --
    
    It probably means the classes could be better separated into the "thing 
that needs the task manager" and the "data object" rather than conflate them, 
but it may happen to be OK here indeed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to