Aleksandar Tomic created SPARK-47902:
----------------------------------------
Summary: Compute Current Time* expressions should be foldable
Key: SPARK-47902
URL: https://issues.apache.org/jira/browse/SPARK-47902
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 4.0.0
Reporter: Aleksandar Tomic
Following PR - https://github.com/apache/spark/pull/44261 changed "compute
current time" family of expressions to be unevaluable, given that these
expressions are supposed to be replaced with literals by QO. Unevaluable
implies that these expressions are not foldable, even though they will be
replaced by literals.
If these expressions were used in places that require constant folding (e.g.
RAND()) new behavior would be to raise an error which is a regression comparing
to behavior prior to spark 4.0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]