FrankYang0529 commented on code in PR #68778:
URL: https://github.com/apache/airflow/pull/68778#discussion_r3465352017


##########
airflow-core/src/airflow/assets/manager.py:
##########
@@ -643,14 +645,22 @@ def _queue_partitioned_dags(
                 )
                 continue
 
+            # rerun_policy only applies to rollups (it decides what happens 
when an
+            # upstream key re-arrives after the window already fired). 
Non-rollup
+            # mappers have no such field; ``None`` keeps their legacy behavior.
+            rerun_policy = mapper.rerun_policy if is_rollup(mapper) else None

Review Comment:
   Thanks for the review. Yes, leave this check for mapper is more clear. 
Updated it.



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