dstandish commented on code in PR #46398:
URL: https://github.com/apache/airflow/pull/46398#discussion_r1941695654


##########
airflow/api/common/trigger_dag.py:
##########
@@ -84,7 +84,10 @@ def _trigger_dag(
 
     data_interval = 
dag.timetable.infer_manual_data_interval(run_after=coerced_logical_date)
     run_id = run_id or dag.timetable.generate_run_id(
-        run_type=DagRunType.MANUAL, logical_date=coerced_logical_date, 
data_interval=data_interval
+        run_type=DagRunType.MANUAL,
+        logical_date=coerced_logical_date,
+        data_interval=data_interval,
+        run_after=data_interval.end,

Review Comment:
   according to the doc, when logical date is null, then data interval _end_ 
should be null. so it would not make sense to use data interval end as the 
run_after date.  thoughts @uranusjr 



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