Josh Rosen created SPARK-11309:
----------------------------------

             Summary: Clean up hacky use of MemoryManager inside of 
HashedRelation
                 Key: SPARK-11309
                 URL: https://issues.apache.org/jira/browse/SPARK-11309
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
            Reporter: Josh Rosen


In HashedRelation, there's a hacky creation of a new MemoryManager in order to 
handle broadcasting of BytesToBytesMap: 
https://github.com/apache/spark/blob/85e654c5ec87e666a8845bfd77185c1ea57b268a/sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashedRelation.scala#L323

Something similar to this has existed for a while, but the code recently became 
much messier as an indirect consequence of my memory manager consolidation 
patch. We should see about cleaning this up and removing the hack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to