MaxGekk opened a new 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
 
 
   ### What changes were proposed in this pull request?
   In the PR, I propose to avoid sorting while comparing the output of 
expression examples to expected output.
   
   ### Why are the changes needed?
   * Sorted `actual` and `expected` make assert output unusable. Instead of 
`"[true]" did not equal "[false]"`, it looks like `"[ertu]" did not equal 
"[aefls]"`.
   * Output of expression examples should be always the same except 
nondeterministic expressions listed in the `ignoreSet` of the `check outputs of 
expression examples` test.
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   By running `SQLQuerySuite` via `./build/sbt "sql/test:testOnly 
org.apache.spark.sql.SQLQuerySuite"`.
   

----------------------------------------------------------------
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]

Reply via email to