You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Javier Lopez Tomas (Jira)" <ji...@apache.org> on 2019/10/23 12:07:00 UTC

[jira] [Updated] (AIRFLOW-5722) Split execution and logging when several SQL queries are executed from file(PostgresOperator)

     [ https://issues.apache.org/jira/browse/AIRFLOW-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Javier Lopez Tomas updated AIRFLOW-5722:
----------------------------------------
    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

  was:
You can have a string or a file with several queries to be executed by the operator. 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

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

> Split execution and logging when several SQL queries are executed from file(PostgresOperator)
> ---------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-5722
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5722
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: hooks, logging, operators
>    Affects Versions: 1.10.5
>            Reporter: Javier Lopez Tomas
>            Priority: Minor
>              Labels: logging, operator, postgres, postgresql
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)