Skip to content

Conversation

@XD-DENG
Copy link
Member

@XD-DENG XD-DENG commented Sep 21, 2020

The description of macro variable task_instance_key_str states its format is {dag_id}_{task_id}_{ds}, but it's actually {dag_id}__{task_id}__{ds_nodash}.

Related codes:

https://github.com/apache/airflow/blob/master/airflow/models/taskinstance.py#L1474-L1475

This can be easily reproduced by task “runme_0” in the example DAG “example_bash_operator”.

image001


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants