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

Dongjoon Hyun updated SPARK-35431:
----------------------------------
    Fix Version/s: 3.1.2

> Sort elements generated by collect_set in SQLQueryTestSuite 
> ------------------------------------------------------------
>
>                 Key: SPARK-35431
>                 URL: https://issues.apache.org/jira/browse/SPARK-35431
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL, Tests
>    Affects Versions: 3.2.0
>            Reporter: Takeshi Yamamuro
>            Assignee: Takeshi Yamamuro
>            Priority: Major
>             Fix For: 3.1.2, 3.2.0
>
>
> To pass {{subquery/scalar-subquery/scalar-subquery-select.sql}} 
> ({{SQLQueryTestSuite}}) in Scala v2.13, this ticket proposes to change the 
> aggregate expr of a test query in the file from {{collect_set(...)}} to 
> {{sort_array(collect_set(...))}} because {{collect_set}} depends on the 
> {{mutable.HashSet}} implementation and elements in the set are printed in a 
> different order in Scala v2.12/v2.13.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to