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

Do not lazy-load pyspark.ml #2184

Merged
merged 2 commits into from
Feb 14, 2024
Merged

Conversation

eapolinario
Copy link
Collaborator

Tracking issue

flyteorg/flyte#4877

Why are the changes needed?

Spark tasks are currently broken on version 1.10.3 and 1.10.2 of the flytekit spark plugin.

What changes were proposed in this pull request?

Do not lazy-load the pyspark.ml module.

How was this patch tested?

Built an image that used that and tested on a real Flyte cluster using a slightly modified version of https://github.com/flyteorg/flytesnacks/blob/master/examples/k8s_spark_plugin/k8s_spark_plugin/pyspark_pi.py.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Eduardo Apolinario <[email protected]>
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 10, 2024
wild-endeavor
wild-endeavor previously approved these changes Feb 10, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by maintainer label Feb 10, 2024
Copy link

codecov bot commented Feb 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (54ab9cf) 85.67% compared to head (90ac1de) 85.69%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2184      +/-   ##
==========================================
+ Coverage   85.67%   85.69%   +0.02%     
==========================================
  Files         314      314              
  Lines       24005    23958      -47     
  Branches     3627     3622       -5     
==========================================
- Hits        20566    20532      -34     
+ Misses       2801     2787      -14     
- Partials      638      639       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Eduardo Apolinario <[email protected]>
@eapolinario eapolinario merged commit 9c9c1ae into master Feb 14, 2024
80 of 81 checks passed
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
* Do not lazy-load pyspark.ml

Signed-off-by: Eduardo Apolinario <[email protected]>

* Lint

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Jan Fiedler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants