-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-54485][SPARK-54494][PYTHON][TESTS][4.0] Re-enable tests in test_parity_udf_profiler and test_parity_memory_profiler #53222
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
Conversation
| return contextlib.nullcontext() | ||
|
|
||
|
|
||
| def skip_if_server_version_is( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems to be a helper decorator. should we make it a private one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by "make it a private one"?
I don't intend it to be a private as it's complete usable, but I'm ok to make it a private. WDYT? @HyukjinKwon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fine. let's just leave it
|
If the decorators look good, I'll submit a PR against master to forward-port them. |
HyukjinKwon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I like this. We should put the util in master too
|
#53223 for forward-port. |
…ct parity tests ### What changes were proposed in this pull request? This PR aims to add utility decorators in Spark Connect cross version tests. - `skip_if_server_version_is` - `skip_if_server_version_is_greater_than_or_equal_to` ### Why are the changes needed? This is a forward-port from #53222. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? N/A ### Was this patch authored or co-authored using generative AI tooling? No. Closes #53223 from ueshin/issues/SPARK-54517/decorators. Authored-by: Takuya Ueshin <ueshin@databricks.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
…ct parity tests ### What changes were proposed in this pull request? This PR aims to add utility decorators in Spark Connect cross version tests. - `skip_if_server_version_is` - `skip_if_server_version_is_greater_than_or_equal_to` ### Why are the changes needed? This is a forward-port from #53222. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? N/A ### Was this patch authored or co-authored using generative AI tooling? No. Closes #53223 from ueshin/issues/SPARK-54517/decorators. Authored-by: Takuya Ueshin <ueshin@databricks.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit d9dcb5c) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I merged the utility function PRs to master/4.1.
…54485_54494/profiler_tests
|
The failed tests are Retrying just in case: |
|
That's fine. Merged to branch-4.0. |
…t_parity_udf_profiler and test_parity_memory_profiler ### What changes were proposed in this pull request? Re-enables tests in `test_parity_udf_profiler` and `test_parity_memory_profiler`. Added utility decorators for Spark Connect parity tests. - `skip_if_server_version_is` - `skip_if_server_version_is_greater_than_or_equal_to` ### Why are the changes needed? Some tests are disabled due to Spark Connect cross version tests. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Modified the related tests to use the utility. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #53222 from ueshin/issues/SPARK-54485_54494/profiler_tests. Authored-by: Takuya Ueshin <ueshin@databricks.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
What changes were proposed in this pull request?
Re-enables tests in
test_parity_udf_profilerandtest_parity_memory_profiler.Added utility decorators for Spark Connect parity tests.
skip_if_server_version_isskip_if_server_version_is_greater_than_or_equal_toWhy are the changes needed?
Some tests are disabled due to Spark Connect cross version tests.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Modified the related tests to use the utility.
Was this patch authored or co-authored using generative AI tooling?
No.