You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chao Sun (Jira)" <ji...@apache.org> on 2021/05/10 17:40:00 UTC

[jira] [Created] (SPARK-35361) Improve performance for ApplyFunctionExpression

Chao Sun created SPARK-35361:
--------------------------------

             Summary: Improve performance for ApplyFunctionExpression
                 Key: SPARK-35361
                 URL: https://issues.apache.org/jira/browse/SPARK-35361
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Chao Sun


When the `ScalarFunction` itself is trivial, `ApplyFunctionExpression` could incur significant runtime cost with `zipWithIndex` call. This proposes to move the call outside the loop over each input row.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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