You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "asl3 (via GitHub)" <gi...@apache.org> on 2023/08/03 05:47:58 UTC

[GitHub] [spark] asl3 opened a new pull request, #42314: [SPARK-44652] Raise error when only one df is None

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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon commented on pull request #42314: [SPARK-44652] Raise error when only one df is None

Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon commented on PR #42314:
URL: https://github.com/apache/spark/pull/42314#issuecomment-1664766927

   Merged to master and branch-3.5.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon closed pull request #42314: [SPARK-44652] Raise error when only one df is None

Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon closed pull request #42314: [SPARK-44652] Raise error when only one df is None
URL: https://github.com/apache/spark/pull/42314


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org