itay livni
02/22/2021, 5:13 PMSKIP signal raised: SKIP('Provided value "True" did not match "False"')
.
• In prefect cloud the case
statement continues to run indefinitely even though the flow has terminated.
## Logs
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(True)': Starting task run...
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(True)': Finished task run for task with final state: 'Mapped'
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(True)[0]': Starting task run...
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(True)[0]': Finished task run for task with final state: 'Success'
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(False)': Starting task run...
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(False)': Finished task run for task with final state: 'Mapped'
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(False)[0]': Starting task run...
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | SKIP signal raised: SKIP('Provided value "True" did not match "False"')
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(False)[0]': Finished task run for task with final state: 'Skipped'
Any thoughts on what is going on here. Thanksnicholas
itay livni
02/22/2021, 5:19 PMDylan
True
maps one task which succeeds
2. the case statement where the case == False
maps one run, which then raises a SKIP signal because the case doesn’t match
3. the mapped task that appears to run indefinitely has a log confirming that it endsend_time
with apply_map
?end_time
@itay livni?itay livni
02/22/2021, 5:25 PM[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(True)': Starting task run...
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(True)': Finished task run for task with final state: 'Mapped'
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(True)[0]': Starting task run...
[2021-02-22 08:49:04-0600] INFO - prefect.TaskRunner | Task 'case(True)[0]': Finished task run for task with final state: 'Success'
The case task is running twice. Where I expect it only to be run once.Dylan
itay livni
02/22/2021, 5:47 PMDylan
itay livni
02/22/2021, 5:51 PMcase
statement to an ifelse
same behavior concerning the UInicholas