Skip to content

[SPARK-41001][CONNECT][TESTS][FOLLOWUP] ChannelBuilderTests should be skipped by should_test_connect flag#38931

Closed
dongjoon-hyun wants to merge 3 commits intoapache:masterfrom
dongjoon-hyun:SPARK-41001
Closed

[SPARK-41001][CONNECT][TESTS][FOLLOWUP] ChannelBuilderTests should be skipped by should_test_connect flag#38931
dongjoon-hyun wants to merge 3 commits intoapache:masterfrom
dongjoon-hyun:SPARK-41001

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Dec 6, 2022

What changes were proposed in this pull request?

This PR aims to skip ChannelBuilderTests when should_test_connect is false.

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

return DataFrame.withPlan(SQL(query), cls.connect) # type: ignore

if have_pandas:

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, but I piggy-back this python-style fix. This style issue is introduced in the previous commit separately today.

$ dev/reformat-python
reformatted python/pyspark/testing/connectutils.py

All done! ✨ 🍰 ✨
1 file reformatted, 391 files left unchanged.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks

Copy link
Member Author

Choose a reason for hiding this comment

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

@dongjoon-hyun
Copy link
Member Author

Thank you, @grundprinzip .

For this PR, I will wait until all the CI passes, @zhengruifeng and @HyukjinKwon

@dongjoon-hyun
Copy link
Member Author

At the last commit, all python linters passed. Thank you again, @zhengruifeng .
Screenshot 2022-12-06 at 12 21 11 AM

@HyukjinKwon
Copy link
Member

Merged to master.

@dongjoon-hyun
Copy link
Member Author

Thank you, @HyukjinKwon !

@dongjoon-hyun dongjoon-hyun deleted the SPARK-41001 branch December 6, 2022 09:03
beliefer pushed a commit to beliefer/spark that referenced this pull request Dec 18, 2022
…e skipped by `should_test_connect` flag

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

This PR aims to skip `ChannelBuilderTests` when `should_test_connect` is false.

### Why are the changes needed?

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

### How was this patch tested?

Closes apache#38931 from dongjoon-hyun/SPARK-41001.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
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.

4 participants