-
Notifications
You must be signed in to change notification settings - Fork 28k
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-48116][INFRA] Run pyspark-pandas*
only in PR builder and Daily Python CIs
#46367
Conversation
pyspark-pandas*
tests to Daily Python CIspyspark-pandas*
in PR builder and Daily Python CIs
pyspark-pandas*
in PR builder and Daily Python CIspyspark-pandas*
only in PR builder and Daily Python CIs
Could you review this PR, @HyukjinKwon ? |
Could you review this PR, @zhengruifeng ? |
ASF Infra team requested GitHub Action usage control to Apache Spark PMC officially. Here is the umbrella JIRA issue to meet ASF Infra policy. |
Could you review this PR, @gengliangwang ? |
@@ -347,12 +353,139 @@ jobs: | |||
pyspark-core, pyspark-errors, pyspark-streaming | |||
- >- | |||
pyspark-mllib, pyspark-ml, pyspark-ml-connect | |||
- >- |
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'm fine with sikpping itself but wonder if we can deduplicate this by directly adding an if to the module based on the JSON input above. I can follow up.
LGTM,one comment but I can followup. |
Thank you for the suggestion. Yes, I hope to do the deduplication later~ |
Merged to master~ |
…condition ### What changes were proposed in this pull request? This PR is a followup of #46367 that simplifies the build and deduplicate them. ### Why are the changes needed? To fix the condition, and make it deduplicated. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Manually. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46380 from HyukjinKwon/SPARK-48116-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
…ogic ### What changes were proposed in this pull request? This PR is another try of #46380 that is a followup of #46367 that simplifies the build and deduplicate them. ### Why are the changes needed? To fix the condition, and make it deduplicated. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Will test in my own fork: https://github.com/HyukjinKwon/spark/actions/runs/8948215777 ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46381 from HyukjinKwon/SPARK-48116-followup2. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
…condition ### What changes were proposed in this pull request? This PR is a followup of apache#46367 that simplifies the build and deduplicate them. ### Why are the changes needed? To fix the condition, and make it deduplicated. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Manually. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#46380 from HyukjinKwon/SPARK-48116-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
…ogic ### What changes were proposed in this pull request? This PR is another try of apache#46380 that is a followup of apache#46367 that simplifies the build and deduplicate them. ### Why are the changes needed? To fix the condition, and make it deduplicated. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Will test in my own fork: https://github.com/HyukjinKwon/spark/actions/runs/8948215777 ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#46381 from HyukjinKwon/SPARK-48116-followup2. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
late LGTM, thanks @dongjoon-hyun |
Thanks, @zhengruifeng |
…ly Python CIs ### What changes were proposed in this pull request? This PR aims to run `pyspark-pandas*` only in PR builder and Daily Python CIs. In other words, only the commit builder will skip it by default. Please note that all PR builders is not consuming ASF resources and they provides lots of test coverage everyday. - https://github.com/apache/spark/actions/workflows/build_python.yml ### Why are the changes needed? To reduce GitHub Action usage to meet ASF INFRA policy. - https://infra.apache.org/github-actions-policy.html > All workflows MUST have a job concurrency level less than or equal to 20. This means a workflow cannot have more than 20 jobs running at the same time across all matrices. Although `pandas` is an **optional** package in PySpark, this is essential for PySpark users and we have **6 test pipelines** which requires lots of resources. We need to optimize the job concurrently level to `less than or equal to 20` while keeping the test capability as much as possible. https://github.com/apache/spark/blob/f450272a9aac812d735eb5f741eec1f6cf1c837c/dev/requirements.txt#L4-L8 - pyspark-pandas - pyspark-pandas-slow - pyspark-pandas-connect-part0 - pyspark-pandas-connect-part1 - pyspark-pandas-connect-part2 - pyspark-pandas-connect-part3 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual review. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#46367 from dongjoon-hyun/SPARK-48116. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
…condition ### What changes were proposed in this pull request? This PR is a followup of apache#46367 that simplifies the build and deduplicate them. ### Why are the changes needed? To fix the condition, and make it deduplicated. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Manually. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#46380 from HyukjinKwon/SPARK-48116-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
…ogic ### What changes were proposed in this pull request? This PR is another try of apache#46380 that is a followup of apache#46367 that simplifies the build and deduplicate them. ### Why are the changes needed? To fix the condition, and make it deduplicated. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Will test in my own fork: https://github.com/HyukjinKwon/spark/actions/runs/8948215777 ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#46381 from HyukjinKwon/SPARK-48116-followup2. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
What changes were proposed in this pull request?
This PR aims to run
pyspark-pandas*
only in PR builder and Daily Python CIs. In other words, only the commit builder will skip it by default. Please note that all PR builders is not consuming ASF resources and they provides lots of test coverage everyday.Why are the changes needed?
To reduce GitHub Action usage to meet ASF INFRA policy.
https://infra.apache.org/github-actions-policy.html
Although
pandas
is an optional package in PySpark, this is essential for PySpark users and we have 6 test pipelines which requires lots of resources. We need to optimize the job concurrently level toless than or equal to 20
while keeping the test capability as much as possible.spark/dev/requirements.txt
Lines 4 to 8 in f450272
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manual review.
Was this patch authored or co-authored using generative AI tooling?
No.