You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (JIRA)" <ji...@apache.org> on 2019/07/26 16:19:00 UTC

[jira] [Resolved] (AIRFLOW-4880) Allow for value based failure and success criteria in SqlSensor

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

Jarek Potiuk resolved AIRFLOW-4880.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.4

> 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
>             Fix For: 1.10.4
>
>
> 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)