Ace Haidrey created AIRFLOW-2017:
------------------------------------
Summary: 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
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)