ashb commented on a change in pull request #5913: Change SQLSensor to treat
NULL as keep poking.
URL: https://github.com/apache/airflow/pull/5913#discussion_r319019107
##########
File path: UPDATING.md
##########
@@ -39,6 +39,13 @@ assists users migrating to a new version.
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
## Airflow Master
+
+### Changes to SQLSensor
+
+SQLSensor now keeps poking after receiving `NULL`. Previously `NULL` response
+has been treated as success criteria. Previous behaviour is still achievable
+setting param `success` to `lambda x: str(x) == 'None'`.
Review comment:
```suggestion
setting param `success` to `lambda x: x is None or str(x) not in ('0', '')`.
```
----------------------------------------------------------------
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]
With regards,
Apache Git Services