You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Eren Avsarogullari (Jira)" <ji...@apache.org> on 2026/04/30 22:32:00 UTC

[jira] [Created] (SPARK-56690) Expose common TaskMemoryManager API on HashedRelation to avoid code duplication

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org