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

Reply via email to