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


   See https://github.com/apache/airflow/issues/19058#issuecomment-947023469 
and #19625 for context. This is the main prerequisite to make it possible for 
us to change the `log_filename_template` config’s default value.
   
   This adds a new table `LogFilename`, and whenever an Airflow command is run 
(except those explicit set `check_db=False`), the user config value of 
`log_filename_template` is sync-ed into the table. Each `DagRun` gets a new 
`log_filename_id` foreign key (populated on creation) that can be used to look 
up what template they use to render task log filenames. All existing DagRun 
rows set this value to NULL (for performance reasons), and internally this 
makes them all use the first row in `LogFilename`, which should be the value in 
use when a user upgrades to 2.3.
   
   The first commit in from #20163; that one needs to be merged first.


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