You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/08/18 05:05:06 UTC

[GitHub] [airflow] dstandish commented on a change in pull request #5688: [AIRFLOW-5073] Treat NULL as fail in SQL sensor

dstandish commented on a change in pull request #5688: [AIRFLOW-5073] Treat NULL as fail in SQL sensor
URL: https://github.com/apache/airflow/pull/5688#discussion_r314968254
 
 

 ##########
 File path: airflow/sensors/sql_sensor.py
 ##########
 @@ -28,9 +28,10 @@
 class SqlSensor(BaseSensorOperator):
     """
     Runs a sql statement repeatedly until a criteria is met. It will keep trying until
-    success or failure criteria are met, or if the first cell is in (0, '0', ''). Optional success
-    and failure callables are called with the first cell returned as the argument. If success
-    callable is defined the sensor will keep retrying until the criteria is met.
+    success or failure criteria are met, or if the first cell is in (0, '0', '', 'None').
 
 Review comment:
   this could be made more clear.
   Shouldn't it be "first cell is _not_ in ..."?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services