forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50436][PYTHON][TESTS] Use assertDataFrameEqual in pyspark.sql.…
…tests.test_udf ### What changes were proposed in this pull request? Use `assertDataFrameEqual` in pyspark.sql.tests.test_udf ### 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#49001 from xinrong-meng/impr_test_udf. Authored-by: Xinrong Meng <xinrong@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
- Loading branch information
1 parent
7d46fdb
commit dc73342
Showing
1 changed file
with
13 additions
and
13 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