ephraimbuddy commented on a change in pull request #18065:
URL: https://github.com/apache/airflow/pull/18065#discussion_r705221828



##########
File path: airflow/models/dagrun.py
##########
@@ -91,6 +103,16 @@ class DagRun(Base, LoggingMixin):
         UniqueConstraint('dag_id', 'execution_date', 
name='dag_run_dag_id_execution_date_key'),
         UniqueConstraint('dag_id', 'run_id', name='dag_run_dag_id_run_id_key'),
         Index('idx_last_scheduling_decision', last_scheduling_decision),
+        # since mysql lacks filtered/partial indices, this creates a
+        # duplicate index on mysql. Not the end of the world

Review comment:
       This PR now depends on #18061 because of this comment. Will merge after 
merging #18061




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