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 17:02:00 UTC

[jira] [Updated] (AIRFLOW-6455) refactor wildcard SQLs

     [ https://issues.apache.org/jira/browse/AIRFLOW-6455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

t oo updated AIRFLOW-6455:
--------------------------
    Priority: Trivial  (was: Major)

> 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
>            Priority: Trivial
>
>              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)