cloud-fan commented on a change in pull request #26813: [SPARK-30188][SQL]
Resolve the failed unit tests when enable AQE
URL: https://github.com/apache/spark/pull/26813#discussion_r369901875
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
##########
@@ -191,7 +192,7 @@ class SQLQuerySuite extends QueryTest with
SharedSparkSession {
val actual = unindentAndTrim(
hiveResultString(df.queryExecution.executedPlan).mkString("\n"))
val expected = unindentAndTrim(output)
- assert(actual === expected)
+ assert(actual.sorted === expected.sorted)
Review comment:
oh I thought `actual` and `expected` is a list of results. Sorry didn't
catch it during review. @MaxGekk can you help to fix it? thanks!
----------------------------------------------------------------
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]