From commits-return-12175-archive-asf-public=cust-asf.ponee.io@airflow.incubator.apache.org Sun Jan 21 18:10:11 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id DCC09180652 for ; Sun, 21 Jan 2018 18:10:11 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CC8A2160C37; Sun, 21 Jan 2018 17:10:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 21460160C24 for ; Sun, 21 Jan 2018 18:10:10 +0100 (CET) Received: (qmail 5019 invoked by uid 500); 21 Jan 2018 17:10:10 -0000 Mailing-List: contact commits-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list commits@airflow.incubator.apache.org Received: (qmail 5010 invoked by uid 99); 21 Jan 2018 17:10:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jan 2018 17:10:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CD4D31A0144 for ; Sun, 21 Jan 2018 17:10:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id P9JXRbu9tqCu for ; Sun, 21 Jan 2018 17:10:09 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 608825F5B4 for ; Sun, 21 Jan 2018 17:10:08 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 88234E0959 for ; Sun, 21 Jan 2018 17:10:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 05C0721207 for ; Sun, 21 Jan 2018 17:10:04 +0000 (UTC) Date: Sun, 21 Jan 2018 17:10:04 +0000 (UTC) From: "Fokko Driesprong (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AIRFLOW-2017) Allow PostgresOperator to publish output to the Airflow task logs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AIRFLOW-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fokko Driesprong updated AIRFLOW-2017: -------------------------------------- Fix Version/s: 2.0.0 > 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)