forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50435][PYTHON][TESTS] Use assertDataFrameEqual in pyspark.sql.…
…tests.test_functions ### What changes were proposed in this pull request? Use `assertDataFrameEqual` in pyspark.sql.tests.test_functions ### Why are the changes needed? `assertDataFrameEqual` is explicitly built to handle DataFrame-specific comparisons, including schema. So we propose to replace `assertEqual` with `assertDataFrameEqual` Part of https://issues.apache.org/jira/browse/SPARK-50435. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#49011 from xinrong-meng/impr_test_functions. Lead-authored-by: Xinrong Meng <xinrong@apache.org> Co-authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Xinrong Meng <xinrong@apache.org>
- Loading branch information
1 parent
dc73342
commit e7071c0
Showing
1 changed file
with
92 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters