dstandish opened a new issue, #42331:
URL: https://github.com/apache/airflow/issues/42331
### Body
Create the ORM models for scheduler-managed backfill
Roughly something like this
```
# one record for each backfill job
class BackfillRun:
id: int # primary key
dag_id: str
# generic config dict to hold params such as
# start_date, end_date, and run_backwards.
# intended to be flexiblie for potential changes
# to how backfill works
# e.g. changes in data completeness behavior
config: dict
dag_run_conf: dict
clear_failed_tasks: bool
clear_dag_run: bool
is_paused: bool
```
And
```
# mapping table to associate a backfill run with dag runs
# this may not be necessary if we make dag runs "immutable"
# i.e. if we stop reusing them, but that's out of scope
class BackfillRunDagRun:
id: int
backfill_run_id: int
dag_run_id: int
is_deleted: bool
```
Note: This is the first ticket of AIP-78 so the scope is actually a little
broader and includes coming up with a minimal working implementation in order
to validate the models.
### Committer
- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow
project.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]