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/22 09:17:00 UTC

[jira] [Assigned] (SPARK-46487) Push down part of filter through aggregate with nondeterministic field

     [ https://issues.apache.org/jira/browse/SPARK-46487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot reassigned SPARK-46487:
--------------------------------------

    Assignee: Apache Spark

> Push down part of filter through aggregate with nondeterministic field
> ----------------------------------------------------------------------
>
>                 Key: SPARK-46487
>                 URL: https://issues.apache.org/jira/browse/SPARK-46487
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.5.0
>            Reporter: Mingliang Zhu
>            Assignee: Apache Spark
>            Priority: Major
>              Labels: pull-request-available
>
> {code:java}
> testRelation
>     .groupBy($"a")($"a", Rand(10).as("rand"))
>     .where($"a" > 5 && $"rand" > 5)
> {code}
> after optimize
> {code:java}
> testRelation
>     .where($"a" > 5)
>     .groupBy($"a")($"a", Rand(10).as("rand"))
>     .where($"rand" > 5)
> {code}



--
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