Skip to content

Commit

Permalink
Add upgrade note on execution_date -> run_id
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Nov 15, 2021
1 parent 849a94b commit 6645f3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions UPDATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,12 @@ Before updating to this 2.2 release you will have to manually resolve any incons
As part of this change the `clean_tis_without_dagrun_interval` config option under `[scheduler]` section has been removed and has no effect.
### TaskInstance and TaskReschedule now define `run_id` instead of `execution_date`
As a part of the TaskInstance-DagRun relation change, the `execution_date` columns on TaskInstance and TaskReschedule have been removed from the database, and replaced by [association proxy](https://docs.sqlalchemy.org/en/13/orm/extensions/associationproxy.html) fields at the ORM level. If you access Airflow’s metadatabase directly, you should rewrite the implementation to use the `run_id` columns instead.
Note that Airflow’s metadatabase definition on both the database and ORM levels are considered implementation detail without strict backward compatibility guarantees.
### DaskExecutor - Dask Worker Resources and queues
If dask workers are not started with complementary resources to match the specified queues, it will now result in an `AirflowException`, whereas before it would have just ignored the `queue` argument.
Expand Down

0 comments on commit 6645f3c

Please sign in to comment.