You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Fangchen Li (Jira)" <ji...@apache.org> on 2026/01/12 18:12:00 UTC

[jira] [Created] (SPARK-55012) Optimize ThreadPool usage in Arrow UDF concurrent execution

Fangchen Li created SPARK-55012:
-----------------------------------

             Summary: Optimize ThreadPool usage in Arrow UDF concurrent execution
                 Key: SPARK-55012
                 URL: https://issues.apache.org/jira/browse/SPARK-55012
             Project: Spark
          Issue Type: Improvement
          Components: PySpark
    Affects Versions: 4.2.0
            Reporter: Fangchen Li


The current implementation of Arrow UDF concurrent execution creates a new {{ThreadPoolExecutor}} for every batch and submits one task for each row. It can be optimized using a singleton ThreadPool and chunked execution.



--
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