airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryl Erwin (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-1440) SQLSensor - needs autocommit to be able to see
Date Fri, 21 Jul 2017 15:42:00 GMT
Daryl Erwin created AIRFLOW-1440:

             Summary: SQLSensor - needs autocommit to be able to see 
                 Key: AIRFLOW-1440
             Project: Apache Airflow
          Issue Type: Bug
          Components: hooks
            Reporter: Daryl Erwin
            Priority: Minor

The SqlSensor will continue to poke and see stale data unless autocommit is turned on. If
I place it in the task, it warns about deprication. What is the preferred method here? It
is not in the connection details. I cant put it in the sql statement.

/usr/local/lib/python2.7/dist-packages/airflow/ PendingDeprecationWarning:
Invalid arguments were passed to SqlSensor. Support for passing such arguments will be dropped
in Airflow 2.0. Invalid arguments were:
*args: ()
**kwargs: {'autocommit': True}

This message was sent by Atlassian JIRA

View raw message