Uh oh!
There was an error while loading. Please reload this page.
Rename execution_date to logical_date across codebase - #43902
Conversation
ea36b6c to
65f9b8eCompareuranusjr
commented
Nov 12, 2024
This needs a news fragment. Rewording the above summary would work fine. See existing files in |
Oh wait, we’re not removing those in this PR yet, so this should not be mentioned at all. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
We removed all the deprecated keys in apache#43902 so we no longer need this code. In preparation of apache#45583, I want to simplify this code. We can always revert/re-add this later when we need to deprecate a key.
We removed all the deprecated keys in apache#43902 so we no longer need this code. In preparation of apache#45583, I want to simplify this code. We can always revert/re-add this later when we need to deprecate a key.
We removed all the deprecated keys in apache#43902 so we no longer need this code. In preparation of apache#45583, I want to simplify this code. We can always revert/re-add this later when we need to deprecate a key.
We removed all the deprecated keys in apache#43902 so we no longer need this code. In preparation of apache#45583, I want to simplify this code. We can always revert/re-add this later when we need to deprecate a key.
We removed all the deprecated keys in apache#43902 so we no longer need this code. In preparation of apache#45583, I want to simplify this code. We can always revert/re-add this later when we need to deprecate a key.
We removed all the deprecated keys in apache#43902 so we no longer need this code. In preparation of apache#45583, I want to simplify this code. We can always revert/re-add this later when we need to deprecate a key.
We removed all the deprecated keys in apache#43902 so we no longer need this code. In preparation of apache#45583, I want to simplify this code. We can always revert/re-add this later when we need to deprecate a key.
Motivation
This PR renames
execution_datetological_dateacross the codebase. The shift towardslogical_datehelps move away from the limitations ofexecution_date, particularly with dynamic DAG runs and cases where multiple runs occur at the same time.Key Changes
execution_datewithlogical_dateincluding models.execution_datein the database to allow multiple DAG runs with the same logical time.How
execution_dateandlogical_dateWorkTransitioning from
execution_dateexecution_date.run_idfor human-readable identifiers.data_interval_start/data_interval_endfor data partitioning in future.id(auto-incremented) is recommended for ordering DAG runs.execution_date, switch to usingdata_interval_startordata_interval_endfor identifying time ranges.Testing
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.