ephraimbuddy commented on code in PR #25788:
URL: https://github.com/apache/airflow/pull/25788#discussion_r948958793


##########
airflow/models/dagrun.py:
##########
@@ -1030,7 +1030,7 @@ def expand_mapped_literals(
         tasks_and_map_idxs = map(expand_mapped_literals, filter(task_filter, 
dag.task_dict.values()))
 
         tasks = itertools.chain.from_iterable(itertools.starmap(task_creator, 
tasks_and_map_idxs))
-        if missing_indexes:
+        if missing_indexes and any(len(v) for _, v in missing_indexes.items()):

Review Comment:
   It's not the root cause of the issue but it calls verify_integrity 
unnecessarily



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