git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert Dag Run from Backfill to Scheduled?


Oh wow, that will work? Thanks! Is there any reason for me not to just run a mass UPDATE on those dag runs directly in the metadata database?

On May 25, 2018, 4:01 PM -0700, Ruiqin Yang <yrqls21@xxxxxxxxx>, wrote:
> Airflow is not going to schedule backfill DAG runs, by looking at the dag
> run ID (which will start by 'backfill__'). If you want the scheduler to
> schedule those tasks, you can click the DAG run and edit its name back to
> 'scheduled__<something>'
>
> Cheers,
> Kevin Y
>
> On Fri, May 25, 2018 at 3:53 PM, Scott Halgrim <
> scott.halgrim@xxxxxxxxxx.invalid> wrote:
>
> > I’ve got four months of dag runs that were scheduled dag runs, then I
> > backfilled them. And now when I clear a task from one of those the dag run
> > goes to “running,” but none of the tasks get scheduled (unless I manually
> > backfill each of them)
> >
> > What I really should have done here was just cleared a mid-dag task as
> > well as all downstream tasks for these dag runs, but, well, now I’m here
> > and I’m wondering what the best way to fix this.
> >
> > Thanks!
> >
> >