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/10 22:07:04 UTC

[GitHub] [airflow] j-martin commented on issue #25627: Scheduler Critical Section Query Not Using Correct Index

j-martin commented on issue #25627:
URL: https://github.com/apache/airflow/issues/25627#issuecomment-1211332715

   Yes it is. @michaelmicheal can you update the title to make it clearer we are talking about MySQL.
   
   The questions for the airflow maintainers, would it be acceptable to open a PR to add the index hint when using mysql?
   
   ```python
   # Pseudo code
   if mysql:
      query = query.with_hint(TI, 'USE INDEX (ti_state)', dialect_name='mysql')
   ```


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