You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/12/11 13:59:00 UTC
[jira] [Updated] (SPARK-46364) Push calculation from Aggregate through Expand
[ https://issues.apache.org/jira/browse/SPARK-46364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-46364:
-----------------------------------
Labels: pull-request-available (was: )
> Push calculation from Aggregate through Expand
> ----------------------------------------------
>
> Key: SPARK-46364
> URL: https://issues.apache.org/jira/browse/SPARK-46364
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Wan Kun
> Priority: Major
> Labels: pull-request-available
>
> Push down calculations in Aggregate through Expand, so the expressions will only be evaluated once.
> For example:
>
> Agg(grouping, sum($a + $b)) <= Expand <= Project, if $a and $b comes from the Project,
>
> a + b will be pushed down to the Project:
> Agg(grouping, sum("a + b")) <= Expand <= Project(old projections ++ ($a + $b).as("a + b"))
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org