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/10 21:48:00 UTC

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

L. C. Hsieh created SPARK-34420:
-----------------------------------

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


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