[
https://issues.apache.org/jira/browse/SPARK-47902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-47902:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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]