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

Split execution and logging when several SQL queries are executed from file(PostgresOperator)

    XMLWordPrintableJSON

Details

    Description

      When you execute several queries from a sql file, you don't get a detailed log of each query. My proposal is to split the execution and logging for each of those queries, so that you would be able to see in the logs the execution of each query individually, with its log of failures (if there are any). 

      This would make debugging so much easier, as you could detect easily which query was causing the failure. 

      The feature can be implemented in the rest of sql operators

      Attachments

        Activity

          People

            Unassigned Unassigned
            JavierLT Javier Lopez Tomas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: