You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kris Mok (Jira)" <ji...@apache.org> on 2020/03/25 01:08:00 UTC

[jira] [Created] (SPARK-31240) Constant fold deterministic Scala UDFs with foldable arguments

Kris Mok created SPARK-31240:
--------------------------------

             Summary: Constant fold deterministic Scala UDFs with foldable arguments
                 Key: SPARK-31240
                 URL: https://issues.apache.org/jira/browse/SPARK-31240
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Kris Mok


Constant fold deterministic Scala UDFs with foldable arguments, conservatively.

ScalaUDFs that meet all following criteria are subject to constant folding in this feature:
* deterministic
* all arguments are foldable
* does not throw an exception when evaluating the UDF for constant folding



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