-
Notifications
You must be signed in to change notification settings - Fork 300
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
Fix map_task sensitive to argument order #1888
Fix map_task sensitive to argument order #1888
Conversation
Signed-off-by: Chao-Heng Lee <[email protected]>
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.
Can you add a few tests?
sure. will update later. |
Signed-off-by: Chao-Heng Lee <[email protected]>
I have added a test about testing task parameter order. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1888 +/- ##
==========================================
+ Coverage 55.06% 55.21% +0.14%
==========================================
Files 296 300 +4
Lines 22250 22393 +143
Branches 3357 3365 +8
==========================================
+ Hits 12252 12364 +112
- Misses 9835 9867 +32
+ Partials 163 162 -1
☔ View full report in Codecov by Sentry. |
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.
Can you also make this change to array node map tasks?
Signed-off-by: Chao-Heng Lee <[email protected]>
Signed-off-by: Chao-Heng Lee <[email protected]>
have updated it! thanks for review. |
thank you, @chaohengstudent ! |
* Fix _raw_execute for getting correct len of input value. Signed-off-by: Chao-Heng Lee <[email protected]> * Add test. Signed-off-by: Chao-Heng Lee <[email protected]> * also update with array_node_map_task. Signed-off-by: Chao-Heng Lee <[email protected]> * rename test. Signed-off-by: Chao-Heng Lee <[email protected]> --------- Signed-off-by: Chao-Heng Lee <[email protected]>
* Fix _raw_execute for getting correct len of input value. Signed-off-by: Chao-Heng Lee <[email protected]> * Add test. Signed-off-by: Chao-Heng Lee <[email protected]> * also update with array_node_map_task. Signed-off-by: Chao-Heng Lee <[email protected]> * rename test. Signed-off-by: Chao-Heng Lee <[email protected]> --------- Signed-off-by: Chao-Heng Lee <[email protected]>
TL;DR
fixing bug about map_task collecting value length with first key which may be the bound input causing error.
Type
Are all requirements met?
Complete description
Iterate the key and get the one which is not bound.
Get the length of that key's value for mapping.
Tracking Issue
Fixes flyteorg/flyte#4161
Follow-up issue
NA