Lee-W commented on code in PR #41828:
URL: https://github.com/apache/airflow/pull/41828#discussion_r1738008481


##########
airflow/models/dag.py:
##########
@@ -3706,7 +3706,11 @@ def calculate_dagrun_date_fields(
 
     @provide_session
     def get_dataset_triggered_next_run_info(self, *, session=NEW_SESSION) -> 
dict[str, int | str] | None:
-        if self.dataset_expression is None:
+        # If an alias is unresolved, we don't have the next_run_info to get
+        if (
+            self.dataset_expression is None
+            and self.timetable_summary != 
DatasetTriggeredTimetable.UNRESOLVED_ALIAS_SUMMARY

Review Comment:
   yep, we could do that. `has_resolved_dataset` sounds good



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