HyukjinKwon commented on code in PR #42513:
URL: https://github.com/apache/spark/pull/42513#discussion_r1302314216


##########
python/pyspark/testing/utils.py:
##########
@@ -411,8 +412,8 @@ def assertDataFrameEqual(
 
     Note that schema equality is checked only when `expected` is a DataFrame 
(not a list of Rows).
 
-    For DataFrames with float values, assertDataFrame asserts approximate 
equality.
-    Two float values a and b are approximately equal if the following equation 
is True:
+    For DataFrames with float/Decimal values, assertDataFrame asserts 
approximate equality.

Review Comment:
   ```suggestion
       For DataFrames with float/decimal values, assertDataFrame asserts 
approximate equality.
   ```



##########
python/pyspark/testing/utils.py:
##########
@@ -411,8 +412,8 @@ def assertDataFrameEqual(
 
     Note that schema equality is checked only when `expected` is a DataFrame 
(not a list of Rows).
 
-    For DataFrames with float values, assertDataFrame asserts approximate 
equality.
-    Two float values a and b are approximately equal if the following equation 
is True:
+    For DataFrames with float/Decimal values, assertDataFrame asserts 
approximate equality.
+    Two float/Decimal values a and b are approximately equal if the following 
equation is True:

Review Comment:
   ```suggestion
       Two float/decimal values a and b are approximately equal if the 
following equation is True:
   ```



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