You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2021/02/11 06:42:00 UTC

[jira] [Resolved] (SPARK-34420) Throw exception if non-streaming Deduplicate is not replaced by aggregate

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

L. C. Hsieh resolved SPARK-34420.
---------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

Issue resolved by pull request 31547
[https://github.com/apache/spark/pull/31547]

> Throw exception if non-streaming Deduplicate is not replaced by aggregate
> -------------------------------------------------------------------------
>
>                 Key: SPARK-34420
>                 URL: https://issues.apache.org/jira/browse/SPARK-34420
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: L. C. Hsieh
>            Assignee: L. C. Hsieh
>            Priority: Minor
>             Fix For: 3.2.0
>
>
> We replace some operations in the query optimizer. For them we throw some exceptions accordingly in query planner if these logical nodes are not replaced. But `Deduplicate` is missing and it opens a possible hole. For code consistency and to prevent possible unexpected query planning error, we should add similar exception case to query planner.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org