uranusjr commented on code in PR #46460:
URL: https://github.com/apache/airflow/pull/46460#discussion_r1952273584
##########
airflow/www/views.py:
##########
@@ -1271,7 +1271,7 @@ def task_stats(self, session: Session = NEW_SESSION):
if conf.getboolean("webserver",
"SHOW_RECENT_STATS_FOR_COMPLETED_RUNS", fallback=True):
last_dag_run = (
- select(DagRun.dag_id,
sqla.func.max(DagRun.logical_date).label("logical_date"))
+ select(DagRun.dag_id,
sqla.func.max(DagRun.run_after).label("run_after"))
Review Comment:
“Last” is defined by logical_date so we should not change this (and some
other changes below)
--
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]