You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "t oo (Jira)" <ji...@apache.org> on 2020/01/04 06:20:00 UTC
[jira] [Created] (AIRFLOW-6455) refactor wildcard SQLs
t oo created AIRFLOW-6455:
-----------------------------
Summary: refactor wildcard SQLs
Key: AIRFLOW-6455
URL: https://issues.apache.org/jira/browse/AIRFLOW-6455
Project: Apache Airflow
Issue Type: Improvement
Components: database
Affects Versions: 1.10.7
Reporter: t oo
api/common/experimental/delete_dag.py: cond = or_(model.dag_id == dag_id, model.dag_id.like(dag_id + ".%"))
jobs/scheduler_job.py: DagRun.run_id.like(DagRun.ID_PREFIX + '%')
jobs/scheduler_job.py: not_(DR.run_id.like(BackfillJob.ID_PREFIX + '%'))))
jobs/base_job.py: DR.run_id.notlike(BackfillJob.ID_PREFIX + '%'),
models/dagrun.py: qry = qry.filter(DR.run_id.notlike(BackfillJob.ID_PREFIX + '%'))
--
This message was sent by Atlassian Jira
(v8.3.4#803005)