Find parent tasks that have at least one child subtask with a status of Failed.
| task_id(INTEGER) | task_name(VARCHAR) |
|---|---|
| 1 | Pipeline_A |
| 2 | Pipeline_B |
| 10 | Child_1 |
| 11 | Child_2 |
| 20 | Child_3 |
| parent_id(INTEGER) | child_id(INTEGER) |
|---|---|
| 1 | 10 |
| 1 | 11 |
| 2 | 20 |
| task_id(INTEGER) | status(VARCHAR) |
|---|---|
| 10 | Failed |
| 11 | Failed |
| 20 | Success |
| parent_task_id(INTEGER) | parent_task_name(VARCHAR) | failed_subtask_count(INTEGER) |
|---|---|---|
| 1 | Pipeline_A | 2 |