[
https://issues.apache.org/jira/browse/SPARK-52875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gengliang Wang resolved SPARK-52875.
------------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Issue resolved by pull request 51569
[https://github.com/apache/spark/pull/51569]
> Simplify V2 expression translation if the input is
> context-independent-foldable
> --------------------------------------------------------------------------------
>
> Key: SPARK-52875
> URL: https://issues.apache.org/jira/browse/SPARK-52875
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.1.0
> Reporter: Gengliang Wang
> Assignee: Gengliang Wang
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> If the input to V2 expression translation is context-independent and foldable
> (see [PR #51282|https://github.com/apache/spark/pull/51282]), we perform
> constant folding on the input and use the evaluated result.
>
> For example:
> * 1 + 1 becomes 2
> * a < log2(8) becomes a < 3.0
>
> This change broadens the coverage of V2 expression translation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]