[ 
https://issues.apache.org/jira/browse/AIRFLOW-4880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893949#comment-16893949
 ] 

ASF GitHub Bot commented on AIRFLOW-4880:
-----------------------------------------

potiuk commented on pull request #5488: [AIRFLOW-4880] Add success, failure and 
fail_on_empty params to SqlSensor
URL: https://github.com/apache/airflow/pull/5488
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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.14#76016)

Reply via email to