Eren Avsarogullari created SPARK-56690:
------------------------------------------

             Summary: Expose common TaskMemoryManager API on HashedRelation to 
avoid code duplication
                 Key: SPARK-56690
                 URL: https://issues.apache.org/jira/browse/SPARK-56690
             Project: Spark
          Issue Type: Task
          Components: SQL
    Affects Versions: 4.2.0
            Reporter: Eren Avsarogullari


Currently, HashedRelation creates TaskMemoryManager by duplicating same 
TaskMemoryManager definition on following APIs:
{code:java}
HashedRelation.apply()
UnsafeHashedRelation.read()
LongToUnsafeRowMap.this()
{code}
It will be useful to expose a single TaskMemoryManager creation API to avoid 
code duplication and this approach will be useful for this kind of cases by 
managing the required logic by single definition: 
https://issues.apache.org/jira/browse/SPARK-54354
https://github.com/apache/spark/pull/53065



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to