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

Add support for Spark Connect DataFrames #15

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

grundprinzip
Copy link

This patch allows to use the assert_pyspark_df_equal when using Spark Connect.

https://spark.apache.org/docs/latest/spark-connect-overview.html

To achieve that we have to allow the pyspark.sql.connect.dataframe.DataFrame type to be allowed to be a valid input type.

The patch adds a new unit tests and updates the test dependencies as well. To avoid issues with older pyspark installations, I'm adding an import guard.

@grundprinzip grundprinzip marked this pull request as ready for review December 14, 2023 15:48
@grundprinzip
Copy link
Author

@debugger24 It would be great if you can take a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant