#1884 Add support for min_success_ratio for local map_task execution
Pull request opened by
chaohengstudent
TL;DR
Implement min_success_ratio for`local`map_task execution.
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☑︎ Smoke tested
☑︎ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
Implement min_success_ratio at map_task._raw_execute by counting failed tasks.
It will exit once there are no chance to meet the min success tasks.
The output element of failed task will present as
None
.
(p.s. wonder if just showing the error with the one exceed max failed tasks is reasonable or not?)
Tracking Issue
Fixes
flyteorg/flyte#4094
Follow-up issue
NA
flyteorg/flytekit
Codecov: 10.00% of diff hit (target 49.57%)
✅ 29 other checks have passed
29/30 successful checks