You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Helios He (Jira)" <ji...@apache.org> on 2026/02/12 19:18:00 UTC

[jira] [Updated] (SPARK-55501) Listagg aggregate function: DISTINCT + WITHIN GROUP ORDER BY not working together for non-string/binary columns

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

Helios He updated SPARK-55501:
------------------------------
    Shepherd: Helios He

> Listagg aggregate function: DISTINCT + WITHIN GROUP ORDER BY not working together for non-string/binary columns
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-55501
>                 URL: https://issues.apache.org/jira/browse/SPARK-55501
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Helios He
>            Priority: Major
>
> minimal reproducible example:
> {code:java}
> SELECT listagg(distinct col) within group (order by col)
> FROM VALUES (1), (2), (2), (3) t(col){code}
> this query fails but should work.  



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