Skip to content

Commit

Permalink
[SPARK-50406][PYTHON][TESTS] Improve pyspark.sql.tests.test_udtf
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
Improve pyspark.sql.tests.test_udtf by
- extract `udtf_for_table_argument` for code reuse
- use assertDataFrameEqual universally

### Why are the changes needed?
Code cleanup.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Test changes only.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes #48949 from xinrong-meng/impr_udtf_test.

Authored-by: Xinrong Meng <[email protected]>
Signed-off-by: Xinrong Meng <[email protected]>
  • Loading branch information
xinrong-meng committed Nov 26, 2024
1 parent afb5d6f commit 9054aa2
Showing 1 changed file with 91 additions and 121 deletions.
Loading

0 comments on commit 9054aa2

Please sign in to comment.