-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change TaskInstance and TaskReschedule PK from execution_date to run_…
…id (#17719) Since TaskReschedule had an existing FK to TaskInstance we had to move change both of these at the same time. This puts an explicit FK constraint between TaskInstance and DagRun, meaning that we can remove a lot of "find TIs without DagRun" code in the scheduler too, as that is no longer a possible situation. Since there is now an explicit foreign key between TaskInstance and DagRun, we can remove a lot of the "cleanup" code in the scheduler that was dealing with this. This change was made as part of AIP-39 Co-authored-by: Tzu-ping Chung <tp@astronomer.io>
- Loading branch information
Showing
132 changed files
with
4,284 additions
and
4,513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.