Repository: incubator-airflow Updated Branches: refs/heads/master abcf1d584 -> c800632bb
[AIRFLOW-1706] Fix query error for MSSQL backend MSSQL doesn't support key word 'is' as synonym for '=' Closes #2733 from patsak/fix/illegal_query_for_mssql Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/c800632b Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/c800632b Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/c800632b Branch: refs/heads/master Commit: c800632bb40882d06344be1ebe0022e0a50ff121 Parents: abcf1d5 Author: k.privezentsev <[email protected]> Authored: Mon Oct 30 20:06:41 2017 +0100 Committer: Bolke de Bruin <[email protected]> Committed: Mon Oct 30 20:06:55 2017 +0100 ---------------------------------------------------------------------- airflow/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/c800632b/airflow/jobs.py ---------------------------------------------------------------------- diff --git a/airflow/jobs.py b/airflow/jobs.py index 892c5cb..cc9af90 100644 --- a/airflow/jobs.py +++ b/airflow/jobs.py @@ -241,7 +241,7 @@ class BaseJob(Base, LoggingMixin): TI.execution_date == DR.execution_date)) .filter( DR.state == State.RUNNING, - DR.external_trigger.is_(False), + DR.external_trigger == False, DR.run_id.notlike(BackfillJob.ID_PREFIX + '%'), TI.state.in_(resettable_states))).all() else:
