GitHub user billcrook added a comment to the discussion: The documentation on 
data_interval_end is unclear

This is still unclear in the docs. The link proposed by @uranusjr does not 
mention the template variables `data_interval_start` or `data_interval_end` at 
all. Given the original post by @jceresini, the main point to get across is 
that `data_interval_end` is exclusive of data in the interval. It is implied 
that the intent of the job is to process data between `data_interval_start` and 
`data_interval_end` but it might not be obvious to newcomers. Maybe a table 
with some examples would help communicate?

| schedule | logical date | data_interval_start |data_interval_end |
|----------|----------|----------|----------|
| @daily  | 2025-01-01, 00:00:00 UTC  | 2025-01-01, 00:00:00 UTC  |  
2025-01-02, 00:00:00 UTC  | 
| @quarterly  | 2025-01-01, 00:00:00 UTC  | 2025-01-01, 00:00:00 UTC  |  
2025-04-01, 00:00:00 UTC  | 

And maybe some _discrete schedule_ examples.


GitHub link: 
https://github.com/apache/airflow/discussions/30800#discussioncomment-12730659

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org

Reply via email to