Patrick539 commented on issue #70762:
URL: https://github.com/apache/airflow/issues/70762#issuecomment-6523228575

   @Zim95 
   Thank you for your interest in the issue.
   
   I think that would solve the problem for this particular setting but not 
overall. I assume the same problem exists with all mappers, so prabably also 
StartOfYearMapper. If I look at the provided Mapper I would assume that all the 
outputs from the other mappers would be valide. Such that I can have a 
processing chain, where I map some key to the start of an hour, then use this 
output and map it in a following DAG to the start of the day and maybe later 
even use it for a DAG that maps the keys to the start of the year.
   
   
https://www.astronomer.io/docs/airflow/airflow-partitioned-runs#one-to-one-mappers
   
   So if I look here at for example StartOfYearMapper I would assume it would 
work with its own output (i.e. 'YYYY') But also with outputs from the 
StartOfQuarterMapper ('YYYY-Q<n>'), StartOfMonthMapper ('YYYY-MM'), 
StartOfWeekMapper ('YYYY-MM-DD (W%V)'), StartOfDayMapper ('YYYY-MM-DD') and so 
on.


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