Skip to content

Conversation

@Yikun
Copy link
Member

@Yikun Yikun commented Jan 14, 2022

What changes were proposed in this pull request?

  • Rename TestCasesUtils to OpsTestBase
  • Make OpsTestCase inherited from ComparisonTestBase(PandasOnSparkTestCase with pdf and psdf)
  • Make *OpsTest inherited from OpsTestBase

Why are the changes needed?

All data type ops related tests case are using PandasOnSparkTestCase, TestCasesUtils as basic classes, we'd better just let TestCasesUtils inherited from PandasOnSparkTestCase instead of multiple inheritance.

Does this PR introduce any user-facing change?

No

How was this patch tested?

UT

Copy link
Contributor

@itholic itholic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment, but not a strong opinion, otherwise it seems fine to me

@Yikun Yikun changed the title [SPARK-37886][PYTHON][TESTS] Refactor on OpsTestCase and use ComparisonTestBase [SPARK-37886][PYTHON][TESTS] Use ComparisonTestBase as base class in OpsTestBase Jan 17, 2022
@itholic
Copy link
Contributor

itholic commented Jan 18, 2022

LGTM.

@Yikun
Copy link
Member Author

Yikun commented Jan 23, 2022

cc @HyukjinKwon @xinrong-databricks

@HyukjinKwon
Copy link
Member

Merged to master.

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.

3 participants