You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Teresa Martyny (JIRA)" <ji...@apache.org> on 2019/01/07 21:22:00 UTC

[jira] [Commented] (AIRFLOW-3292) `delete_dag` endpoint and cli commands don't delete on exact dag_id matching

    [ https://issues.apache.org/jira/browse/AIRFLOW-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736368#comment-16736368 ] 

Teresa Martyny commented on AIRFLOW-3292:
-----------------------------------------

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)