[ 
https://issues.apache.org/jira/browse/AIRFLOW-4880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Drazen Urch updated AIRFLOW-4880:
---------------------------------
    Description: 
Currently SqlSensor has a very specific requirements around what should be 
returned, and can only signal existence of a particular row. There is no way to 
fail the sensor based on the values returned, something like CheckOperator 
needs to be used. 

It would be great to have a way of doing some basic fail/pass logic in the 
SqlSensor.

It would also be great to fail if no results are returned as opposed to current 
infinite retries.

 

  was:
Currently SqlSensor has a very specific requirements around what should be 
returned, and can only signal existence of a particular row. There is no way to 
fail the sensor based on the values returned, something like CheckOperator 
needs to be used. 

It would be great to have a way of doing some basic fail/pass logic in the 
SqlSensor


> Allow for value based failure and success criteria in SqlSensor
> ---------------------------------------------------------------
>
>                 Key: AIRFLOW-4880
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4880
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: DAG
>    Affects Versions: 1.10.3
>            Reporter: Drazen Urch
>            Assignee: Drazen Urch
>            Priority: Major
>
> Currently SqlSensor has a very specific requirements around what should be 
> returned, and can only signal existence of a particular row. There is no way 
> to fail the sensor based on the values returned, something like CheckOperator 
> needs to be used. 
> It would be great to have a way of doing some basic fail/pass logic in the 
> SqlSensor.
> It would also be great to fail if no results are returned as opposed to 
> current infinite retries.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to