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)

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            JavierLT Javier Lopez Tomas

            Dates

              Created:
              Updated:

              Issue deployment