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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to