You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/05/18 05:53:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17346598#comment-17346598 ]
Apache Spark commented on SPARK-35431:
--------------------------------------
User 'maropu' has created a pull request for this issue:
https://github.com/apache/spark/pull/32578
> 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.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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org