-
Notifications
You must be signed in to change notification settings - Fork 299
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
Make array_node_map_task the default map_task #2242
Conversation
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
… map task module to `legacy_map_task` Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2242 +/- ##
==========================================
+ Coverage 84.74% 85.98% +1.24%
==========================================
Files 315 320 +5
Lines 24142 24250 +108
Branches 3666 3667 +1
==========================================
+ Hits 20458 20852 +394
+ Misses 3025 2746 -279
+ Partials 659 652 -7 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
…re loaded Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
@@ -19,6 +19,7 @@ google-cloud-bigquery-storage | |||
IPython | |||
keyrings.alt | |||
setuptools_scm | |||
pytest-icdiff |
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 gives better diffs in case of failures: https://github.com/hjwp/pytest-icdiff
Signed-off-by: Eduardo Apolinario <[email protected]>
* Swap arraynode map_task Signed-off-by: Eduardo Apolinario <[email protected]> * Fix unit tests Signed-off-by: Eduardo Apolinario <[email protected]> * Add pytest-icdiff to dev-requirements.in Signed-off-by: Eduardo Apolinario <[email protected]> * Fix test_node_creation.py tests Signed-off-by: Eduardo Apolinario <[email protected]> * Remove array_node_map_task from experimental module and rename legacy map task module to `legacy_map_task` Signed-off-by: Eduardo Apolinario <[email protected]> * Lint Signed-off-by: Eduardo Apolinario <[email protected]> * Fix one more mention to legacy map task code Signed-off-by: Eduardo Apolinario <[email protected]> * Remove `--experimental` and include `--legacy` Signed-off-by: Eduardo Apolinario <[email protected]> * Fix flytekit-k8s-pod/tests/test_pod.py test Signed-off-by: Eduardo Apolinario <[email protected]> * Remove the `--legacy` flag and rearrange how the map task resolvers are loaded Signed-off-by: Eduardo Apolinario <[email protected]> * Remove map task resolver imports from entrypoint Signed-off-by: Eduardo Apolinario <[email protected]> * Fix name in k8s-pod plugin Signed-off-by: Eduardo Apolinario <[email protected]> --------- Signed-off-by: Eduardo Apolinario <[email protected]> Co-authored-by: Eduardo Apolinario <[email protected]>
* Swap arraynode map_task Signed-off-by: Eduardo Apolinario <[email protected]> * Fix unit tests Signed-off-by: Eduardo Apolinario <[email protected]> * Add pytest-icdiff to dev-requirements.in Signed-off-by: Eduardo Apolinario <[email protected]> * Fix test_node_creation.py tests Signed-off-by: Eduardo Apolinario <[email protected]> * Remove array_node_map_task from experimental module and rename legacy map task module to `legacy_map_task` Signed-off-by: Eduardo Apolinario <[email protected]> * Lint Signed-off-by: Eduardo Apolinario <[email protected]> * Fix one more mention to legacy map task code Signed-off-by: Eduardo Apolinario <[email protected]> * Remove `--experimental` and include `--legacy` Signed-off-by: Eduardo Apolinario <[email protected]> * Fix flytekit-k8s-pod/tests/test_pod.py test Signed-off-by: Eduardo Apolinario <[email protected]> * Remove the `--legacy` flag and rearrange how the map task resolvers are loaded Signed-off-by: Eduardo Apolinario <[email protected]> * Remove map task resolver imports from entrypoint Signed-off-by: Eduardo Apolinario <[email protected]> * Fix name in k8s-pod plugin 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]>
Tracking issue
NA
Why are the changes needed?
Array node map tasks have been present in the SDK for a long time. Time to rip off the bandaid and make them the default map_task.
What changes were proposed in this pull request?
A few changes:
map_task
to point toarray_node_map_task
.array_node_map_task
from theexperimental
module.legacy_map_task
map_task
resolvers are loaded, instead of relying on flags to instantiate specific resolvers, we use the resolver name to produce a valid reference.How was this patch tested?
Unit tests and local runs using sandbox.
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link