You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2026/09/07 20:17:00 UTC

[jira] [Updated] (SPARK-58420) COUNT(DISTINCT ...) does not sort maps in the argument trees

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

Dongjoon Hyun updated SPARK-58420:
----------------------------------
        Parent: SPARK-58540
    Issue Type: Sub-task  (was: Bug)

> 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: Sub-task
>          Components: SQL
>    Affects Versions: 4.3.0
>            Reporter: Vladimir Golubev
>            Assignee: Vladimir Golubev
>            Priority: Major
>              Labels: correctness, pull-request-available
>             Fix For: 4.4.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org