SuccessMoses commented on code in PR #44687:
URL: https://github.com/apache/airflow/pull/44687#discussion_r1875990926


##########
airflow/models/taskinstance.py:
##########
@@ -1634,6 +1634,7 @@ def _handle_reschedule(
     # see https://github.com/apache/airflow/pull/21362 for more info
     session.add(
         TaskReschedule(
+            ti.ti_id,
             ti.task_id,
             ti.dag_id,
             ti.run_id,

Review Comment:
   The new `ti_id` makes old PK columns to be redundant. You can obtain 
`dag_id` and `run_id` by using `join` statement



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