Skip to content

[SPARK-50454][PYTHON][TESTS] Use assertDataFrameEqual in pyspark.sql.tests.test_functions#49011

Closed
xinrong-meng wants to merge 3 commits intoapache:masterfrom
xinrong-meng:impr_test_functions
Closed

[SPARK-50454][PYTHON][TESTS] Use assertDataFrameEqual in pyspark.sql.tests.test_functions#49011
xinrong-meng wants to merge 3 commits intoapache:masterfrom
xinrong-meng:impr_test_functions

Conversation

@xinrong-meng
Copy link
Member

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.

@xinrong-meng xinrong-meng changed the title [SPARK-50436][PYTHON][TESTS] Use assertDataFrameEqual in pyspark.sql.tests.test_functions [SPARK-50435][PYTHON][TESTS] Use assertDataFrameEqual in pyspark.sql.tests.test_functions Nov 29, 2024
@xinrong-meng
Copy link
Member Author

Merged to master, thank you!

@xinrong-meng xinrong-meng changed the title [SPARK-50435][PYTHON][TESTS] Use assertDataFrameEqual in pyspark.sql.tests.test_functions [SPARK-50454][PYTHON][TESTS] Use assertDataFrameEqual in pyspark.sql.tests.test_functions Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants