Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-5930

Reduce time spent building SQL strings

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: scheduler
    • Labels:
      None

      Description

      My profling of the scheduler work turned up a lot of cases where the scheduler_job/dag parser process was spending a lot of time building (not executing!) the SQL string.

      This can be improved with https://docs.sqlalchemy.org/en/13/orm/extensions/baked.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ash Ash Berlin-Taylor
                Reporter:
                ash Ash Berlin-Taylor
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: