Skip to content

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR proposes to make pyspark.testing compatible with pyspark-connect by using noop context manager contextlib.nullcontext instead of QuietTest which requires JVM access.

Why are the changes needed?

In order for pyspark-connect to work without classic PySpark packages and dependencies. Also, the logs are hidden as it's written to the separate file so it is actually already quiet.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Yes, at #45870. Once CI is setup there, it will be tested there properly.

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

No.

@github-actions github-actions bot added the PYTHON label Apr 7, 2024
@HyukjinKwon HyukjinKwon changed the title [SPARK-47753][PYTHON][TESTS] Make pyspark.testing compatible with pyspark-connect [SPARK-47753][PYTHON][CONNECT][TESTS] Make pyspark.testing compatible with pyspark-connect Apr 7, 2024
@HyukjinKwon
Copy link
Member Author

Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants