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/07/06 06:22:09 UTC

[GitHub] [spark] asl3 commented on pull request #41606: [SPARK-44061][PYTHON] Add assertDataFrameEqual util function

asl3 commented on PR #41606:
URL: https://github.com/apache/spark/pull/41606#issuecomment-1623061353

   @HyukjinKwon here's an example of the new error message output, do you have feedback for any modifications? thank you!
   
   ```
   df1 = self.spark.createDataFrame(
               data=[
                   ("1", 1000.00),
                   ("2", 3000.00),
                   ("3", 2000.00),
               ],
               schema=["id", "amount"],
           )
   ```
   
           ```
   df2 = self.spark.createDataFrame(
               data=[
                   ("1", 1001.00),
                   ("2", 3000.00),
                   ("3", 2003.00),
               ],
               schema=["id", "amount"],
           ) 
   ```
   
   <img width="858" alt="Screenshot 2023-07-05 at 9 24 47 PM" src="https://github.com/apache/spark/assets/68875504/5fd5f816-5497-4c4b-8b9c-d2ead28af7dc">
   


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