mgorsk1 opened a new issue #21955:
URL: https://github.com/apache/airflow/issues/21955


   ### Description
   
   Currently in list of `Task Instances` there is no possibility to quickly 
filter only tasks with `None` state. This issue proposes to introduce such 
possibility. I see two approaches that could be introduced to handle this:
   
   - add `Is empty` and `Is not empty` filtering options in filter controls 
   
![image](https://user-images.githubusercontent.com/5680655/156524522-35c69cd9-d5be-4ce3-acaa-07fa5f695033.png)
   - when querying underlying database to get list of tasks, do COALESCE(state, 
'None') so if user enters `None` into (for example) `Starts with` clause, it's 
filtered properly.
   
   ### Use case/motivation
   
   None is a valid status for task and it should be possible to filter by it.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to