The GitHub Actions job "Build Images" on airflow.git has succeeded.
Run started by GitHub user dstandish (triggered by dstandish).

Head commit for run:
59f0a5f15de6182208622b89059d5613597431f8 / Daniel Standish 
<[email protected]>
Fix pre-upgrade check for rows dangling w.r.t. dag_run

Some migrations for 2.3.0 add keys to TI and DR.

We have a check that purges any rows that can't be mapped to a DR.

But it doesn't work correctly. It does DELETE FROM USING dag_run; but this is 
an inner join so if the dag run isn't there the rows won't be deleted.

Instead we can do DELETE FROM WHERE NOT EXISTS. This has a happy side effect of 
letting us remove some dialect-specific code.

This PR does not add a check for dangling w.r.t. TI -- that is deferred for a 
later PR.

Report URL: https://github.com/apache/airflow/actions/runs/2117119392

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to