You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takeshi Yamamuro (Jira)" <ji...@apache.org> on 2021/05/18 05:12:00 UTC
[jira] [Updated] (SPARK-35431) Sort elements generated by
collect_set in SQLQueryTestSuite
[ https://issues.apache.org/jira/browse/SPARK-35431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Takeshi Yamamuro updated SPARK-35431:
-------------------------------------
Parent: SPARK-25075
Issue Type: Sub-task (was: Test)
> 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
> Priority: Major
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org