Daryl Erwin created AIRFLOW-1440:
------------------------------------

             Summary: SQLSensor - needs autocommit to be able to see 
                 Key: AIRFLOW-1440
                 URL: https://issues.apache.org/jira/browse/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/models.py:1943: 
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}
  category=PendingDeprecationWarning



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to