You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Fokko Driesprong (JIRA)" <ji...@apache.org> on 2018/01/21 17:10:04 UTC
[jira] [Closed] (AIRFLOW-2017) Allow PostgresOperator to publish
output to the Airflow task logs
[ https://issues.apache.org/jira/browse/AIRFLOW-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fokko Driesprong closed AIRFLOW-2017.
-------------------------------------
Resolution: Fixed
> Allow PostgresOperator to publish output to the Airflow task logs
> -----------------------------------------------------------------
>
> Key: AIRFLOW-2017
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2017
> Project: Apache Airflow
> Issue Type: Improvement
> Components: operators
> Affects Versions: 1.9.0
> Reporter: Ace Haidrey
> Assignee: Ace Haidrey
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: Screen Shot 2018-01-19 at 4.46.25 PM.png, Screen Shot 2018-01-19 at 4.46.59 PM.png
>
>
> Currently we're not getting the output logs of any postgres operator that you would get otherwise. It's because the postgres conn has an attribute called [notices|[http://initd.org/psycopg/docs/connection.html#connection.notices|http://initd.org/psycopg/docs/connection.html#connection.notices.]].
> We need to just print the results of this to get that output in the airflow logs, which makes it easy to debug amongst other things.
> I've included some images for before and after pictures.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)