You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/01 05:22:09 UTC

[GitHub] [airflow] uranusjr commented on pull request #25404: Removed interfering force of index.

uranusjr commented on PR #25404:
URL: https://github.com/apache/airflow/pull/25404#issuecomment-1200721802

   Hmm, this line was actually introduced in #2021 to fix a performance issue in the first place. Unfortunately context is sparse on things this old, but I wonder what changed between then and now that the “normal” case is not slower now—we did change TaskInstance’s primary key in 2.2 to use `run_id` instead of `execution_date`, and also added an explicit foreign key to DagRun (which I think is relevant because this query joins that table). Do you think any of these would explain the difference?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org