asl3 opened a new pull request, #42314:
URL: https://github.com/apache/spark/pull/42314

   ### What changes were proposed in this pull request?
   Adds a "raise PySparkAssertionError" for the case when one of `actual` or 
`expected` is None, instead of just returning False.
   
   
   ### Why are the changes needed?
   The PR ensures that an error is thrown in the assertion for the edge case 
when one of `actual` or `expected` is None
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, the PR affects the user-facing API `assertDataFrameEqual`
   
   
   ### How was this patch tested?
   Added tests to `python/pyspark/sql/tests/test_utils.py`
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to