TERESA M MARTYNY created AIRFLOW-3292:
-----------------------------------------

             Summary: `delete_dag` endpoint and cli commands don't delete on 
exact dag_id matching
                 Key: AIRFLOW-3292
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3292
             Project: Apache Airflow
          Issue Type: Bug
          Components: api, cli
    Affects Versions: 1.10.0
            Reporter: TERESA M MARTYNY


If you have the following dag ids: `schema`, `schema.table1`, `schema.table2`, 
`schema_replace`

When you hit the delete_dag endpoint with the dag id: `schema`, it will delete 
`schema`, `schema.table1`, and `schema.table2`, not just `schema`. Underscores 
are fine so it doesn't delete `schema_replace`, but periods are not.

If this is expected behavior, clarifying that functionality in the docs would 
be great, and then I can submit a feature request for the ability to use regex 
for exact matching with this command and endpoint.

Thanks!! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to