MaxGekk commented on a change in pull request #27324:
[SPARK-30188][SQL][TESTS][FOLLOW-UP] Remove `sorted` in the check of expression
example outputs
URL: https://github.com/apache/spark/pull/27324#discussion_r369939210
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
##########
@@ -193,7 +193,7 @@ class SQLQuerySuite extends QueryTest with
SharedSparkSession with AdaptiveSpark
val actual = unindentAndTrim(
hiveResultString(df.queryExecution.executedPlan).mkString("\n"))
val expected = unindentAndTrim(output)
- assert(actual.sorted === expected.sorted)
+ assert(actual === expected)
Review comment:
Even sorting is not necessary in other places, I don't think it makes sense
to change those places here in the PR which is just a follow up
https://github.com/apache/spark/pull/26813#discussion_r369743505
How about to open new JIRA for reviewing other places?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]