This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 6a3a8f5750e [SPARK-45553][3.5][PS] Correct warning messages
6a3a8f5750e is described below

commit 6a3a8f5750e1db3d4dea3a9d12795764035b953a
Author: Haejoon Lee <[email protected]>
AuthorDate: Fri Oct 20 15:01:15 2023 +0900

    [SPARK-45553][3.5][PS] Correct warning messages
    
    ### What changes were proposed in this pull request?
    
    This followups for https://github.com/apache/spark/pull/43426.
    
    ### Why are the changes needed?
    
    To remove incorrect context from the warning message.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    The existing CI should pass
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #43459 from itholic/45553-remove.
    
    Authored-by: Haejoon Lee <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 python/pyspark/testing/pandasutils.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/python/pyspark/testing/pandasutils.py 
b/python/pyspark/testing/pandasutils.py
index 04a523bce76..2463289d59f 100644
--- a/python/pyspark/testing/pandasutils.py
+++ b/python/pyspark/testing/pandasutils.py
@@ -367,8 +367,6 @@ def assertPandasOnSparkEqual(
 
     .. deprecated:: 3.5.1
         `assertPandasOnSparkEqual` will be removed in Spark 4.0.0.
-        Use `ps.testing.assert_frame_equal`, `ps.testing.assert_series_equal`
-        and `ps.testing.assert_index_equal` instead.
 
     Parameters
     ----------
@@ -423,9 +421,7 @@ def assertPandasOnSparkEqual(
     >>> assertPandasOnSparkEqual(s1, s2, almost=True)  # pass, ps.Index obj 
are almost equal
     """
     warnings.warn(
-        "`assertPandasOnSparkEqual` will be removed in Spark 4.0.0. "
-        "Use `ps.testing.assert_frame_equal`, `ps.testing.assert_series_equal` 
"
-        "and `ps.testing.assert_index_equal` instead.",
+        "`assertPandasOnSparkEqual` will be removed in Spark 4.0.0. ",
         FutureWarning,
     )
     if actual is None and expected is None:


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

Reply via email to