[ https://issues.apache.org/jira/browse/AIRFLOW-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736368#comment-16736368 ]
Teresa Martyny edited comment on AIRFLOW-3292 at 1/7/19 9:25 PM: ----------------------------------------------------------------- Sorry Ash, I just saw this response. We don't use subdags, so we were unaware of this naming convention. Adding a validation to prevent people from naming dags this way would be great. In the meantime, we have created a ticket on our end to rename our dags. Thanks for clarifying! was (Author: teresamartyny): Sorry Ash, I just saw this response. We don't use subdags, so we were unaware of this naming convention. Adding a validation to prevent people from namings dags this way would be great. In the meantime, we have created a ticket on our end to rename our dags. Thanks for clarifying! > `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 Martyny > Priority: Major > > 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)