uranusjr opened a new pull request #18953:
URL: https://github.com/apache/airflow/pull/18953


   Fix #18894.
   
   Instead of failing loudly for invalid records (which happens way too often), 
this attempts to move those offending data to another table and carry on with 
the migration if possible. This table for dangling data are copied with `CREATE 
TABLE ... AS SELECT ...` and could miss some indexing and stuff, but this is 
only meant for temporary storage, so this is probably not a big deal. If 
copying went well, the dangling data are automatically deleted so we can carry 
on with migration.
   
   This also _removed_ the upgrade check on TaskFail and _added_ 
TaskReschedule. This is because TaskFail is not actually being migrated in 2.2, 
while TaskReschedule is, and we concluded this is likely a typo during 
implementation and not an intentional choice.


-- 
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]


Reply via email to