[ 
https://issues.apache.org/jira/browse/SPARK-34420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282755#comment-17282755
 ] 

Apache Spark commented on SPARK-34420:
--------------------------------------

User 'viirya' has created a pull request for this issue:
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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to