uranusjr commented on code in PR #62501:
URL: https://github.com/apache/airflow/pull/62501#discussion_r3425212125


##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -2202,42 +2193,52 @@ def _create_dag_runs_asset_triggered(
                             ),
                         ),
                         AssetEvent.timestamp <= triggered_date,
-                        AssetEvent.timestamp > 
func.coalesce(cte.c.previous_dag_run_run_after, date.min),
+                        AssetEvent.id.not_in(
+                            select(association_table.c.event_id)
+                            .join(DagRun, DagRun.id == 
association_table.c.dag_run_id)
+                            .where(DagRun.dag_id == dag.dag_id)

Review Comment:
   Has this been re-reverted? The current changes show the `not_in()` clause as 
raised by Copilot?



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