Vladimir Golubev created SPARK-58420:
----------------------------------------

             Summary: COUNT(DISTINCT ...) does not sort maps in the argument 
trees
                 Key: SPARK-58420
                 URL: https://issues.apache.org/jira/browse/SPARK-58420
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.3.0
            Reporter: Vladimir Golubev


Injecting MapSort is necessary for maps to be grouped correctly. We currently 
do that for GROUP BY, but we missed that for the COUNT(DISTINCT ...)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to