Xianyang Liu created SPARK-44930:
------------------------------------

             Summary: Deterministic ApplyFunctionExpression should be foldable
                 Key: SPARK-44930
                 URL: https://issues.apache.org/jira/browse/SPARK-44930
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.4.1
            Reporter: Xianyang Liu


Currently, ApplyFunctionExpression is unfoldable because inherits the default 
value from Expression.  However, it should be foldable for a deterministic 
ApplyFunctionExpression. This could help optimize the usage for V2 UDF applying 
on constant literal.



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

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

Reply via email to