Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-48832][CONNECT][TESTS] Add dedicated error tests for Spark Connect #47250

Closed
wants to merge 1 commit into from

Conversation

itholic
Copy link
Contributor

@itholic itholic commented Jul 8, 2024

What changes were proposed in this pull request?

This PR proposes to add dedicated error tests for Spark Connect

Why are the changes needed?

To improve the test coverage for Spark Connect

Does this PR introduce any user-facing change?

No, this is test-only fix.

How was this patch tested?

Extended the existing UTs.

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

No.

@@ -24,7 +24,7 @@
from pyspark.errors.utils import ErrorClassesReader


class ErrorsTest(unittest.TestCase):
class ErrorsTestsMixin:
Copy link
Member

Choose a reason for hiding this comment

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

I think it doesn't test anything specific to Spark Connect?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's true. I suggest this in case we add more test related to connect in the future. We can just close this for now.

Copy link
Member

Choose a reason for hiding this comment

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

let's add it when we actually need a dedicated test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it! Let me close for now

@itholic itholic closed this Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants