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-41725][PYTHON][TESTS][FOLLOW-UP] Remove collect for SQL command execution in tests #40251

Closed
wants to merge 1 commit into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR removes sql("command").collect() workaround in PySpark tests codes.

Why are the changes needed?

They were added previously to work around within Spark Connect. This is fixed now, so we don't need to call collect anymore.

Does this PR introduce any user-facing change?

No, test-only.

How was this patch tested?

CI in this PR should test it out.

@HyukjinKwon HyukjinKwon changed the title [SPARK-41725][PYTHON][TESTS][FOLLOW-UP] Remove collect in SQL command execution in tests [SPARK-41725][PYTHON][TESTS][FOLLOW-UP] Remove collect for SQL command execution in tests Mar 2, 2023
@HyukjinKwon
Copy link
Member Author

All related tests passed.

Merged to master and branch-3.4.

HyukjinKwon added a commit that referenced this pull request Mar 2, 2023
…d execution in tests

### What changes were proposed in this pull request?

This PR removes `sql("command").collect()` workaround in PySpark tests codes.

### Why are the changes needed?

They were added previously to work around within Spark Connect. This is fixed now, so we don't need to call `collect` anymore.

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

No, test-only.

### How was this patch tested?

CI in this PR should test it out.

Closes #40251 from HyukjinKwon/SPARK-41725.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 79da1ab)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
…d execution in tests

### What changes were proposed in this pull request?

This PR removes `sql("command").collect()` workaround in PySpark tests codes.

### Why are the changes needed?

They were added previously to work around within Spark Connect. This is fixed now, so we don't need to call `collect` anymore.

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

No, test-only.

### How was this patch tested?

CI in this PR should test it out.

Closes apache#40251 from HyukjinKwon/SPARK-41725.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 79da1ab)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
@HyukjinKwon HyukjinKwon deleted the SPARK-41725 branch January 15, 2024 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants