You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/18 08:23:31 UTC

[GitHub] [airflow] ashb edited a comment on issue #15897: Set a state of task instances can not be applied to a specific task instance

ashb edited a comment on issue #15897:
URL: https://github.com/apache/airflow/issues/15897#issuecomment-842963938


   > @ashb, then can you ensure that's a kind of PK and there can not be more than one task instance with the same dag_id, task_id and execution_date even when they start at the same time? Thanks
   
   Correct. That is a unique constraint in the database.
   
   `execution_date` is a confusing term (that we're going to get rid of/deprecate in Airflow 2.2) -- it is not "when am I running" (i.e. `now()`, it is instead "what is the start of the period of data I should look at"
   
   See https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-39+Richer+scheduler_interval for a bit more detail on our proposals. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org