From commits-return-25319-archive-asf-public=cust-asf.ponee.io@airflow.incubator.apache.org Sat Oct 13 08:18:59 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 423F418067A for ; Sat, 13 Oct 2018 08:18:59 +0200 (CEST) Received: (qmail 72805 invoked by uid 500); 13 Oct 2018 06:18:57 -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 72787 invoked by uid 99); 13 Oct 2018 06:18:57 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Oct 2018 06:18:57 +0000 From: GitBox To: commits@airflow.apache.org Subject: [GitHub] Fokko edited a comment on issue #4003: [AIRFLOW-3163] add operator to enable setting table description in BigQuery table Message-ID: <153941153713.32212.12825641127730711010.gitbox@gitbox.apache.org> Date: Sat, 13 Oct 2018 06:18:57 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Fokko edited a comment on issue #4003: [AIRFLOW-3163] add operator to enable setting table description in BigQuery table URL: https://github.com/apache/incubator-airflow/pull/4003#issuecomment-429515036 Just thinking along here. We could extend the create table definition and add the description over there: https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/hooks/bigquery_hook.py#L214-L284 The create table call supports supplying a description field: https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#resource We could template this field, so we can use `created at: {{ execution_date }}`, which will translate to `created at: 2018-06-04`. Thoughts? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services