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: [email protected]
For additional commands, e-mail: [email protected]