uranusjr commented on issue #19058:
URL: https://github.com/apache/airflow/issues/19058#issuecomment-948525543


   The problem is we need to finish all backfilling before we change the 
default filename format (or before the user changes the custom format based on 
our recommendation), otherwise the old format would be lost forever and we 
won't be able to backfill anymore, and there's no guarantee each past task 
instance (or DAG run) would be visited at least once before the change unless 
we artificially add something.
   
   One workaround I can think of is to instead add a table in the database that 
records the current (i.e. old after we change the default) format. When we 
implement the filename format change, we'll insert one single row to that table 
for TIs with NULL format to use as the fallback. Not particularly elegant 
though.


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