[
https://issues.apache.org/jira/browse/SPARK-45478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhizhen Hou updated SPARK-45478:
Description:
After eliminates all common subexpression of `If`, it reduces computation time
from
[
https://issues.apache.org/jira/browse/SPARK-45478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhizhen Hou updated SPARK-45478:
Description:
After eliminates all common subexpression of `If`, it reduces computation time
from
[
https://issues.apache.org/jira/browse/SPARK-45478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17773921#comment-17773921
]
Zhizhen Hou commented on SPARK-45478:
-
There are three children in If: predicate, trueValue and
[
https://issues.apache.org/jira/browse/SPARK-45478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhizhen Hou updated SPARK-45478:
Description:
*The SQL to reproduce the result*
{code:java}
create table t_dec (c1 decimal(6,2));
[
https://issues.apache.org/jira/browse/SPARK-45478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17773579#comment-17773579
]
Zhizhen Hou commented on SPARK-45478:
-
The new compiled spark 4.0.0-SNAPSHOT from master branch also
[
https://issues.apache.org/jira/browse/SPARK-45478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhizhen Hou updated SPARK-45478:
Description:
*The SQL to reproduce*
{code:java}
create table t_dec (c1 decimal(6,2));
insert
Zhizhen Hou created SPARK-45478:
---
Summary: codegen sum(decimal_column / 2) computes div twice
Key: SPARK-45478
URL: https://issues.apache.org/jira/browse/SPARK-45478
Project: Spark
Issue Type: