Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2724C200D2F for ; Wed, 1 Nov 2017 14:54:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 25899160BEA; Wed, 1 Nov 2017 13:54:07 +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 69901160BE6 for ; Wed, 1 Nov 2017 14:54:06 +0100 (CET) Received: (qmail 44891 invoked by uid 500); 1 Nov 2017 13:54:05 -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 44806 invoked by uid 99); 1 Nov 2017 13:54:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2017 13:54:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 617F6183405 for ; Wed, 1 Nov 2017 13:54:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id X2VY1A_0_eBi for ; Wed, 1 Nov 2017 13:54:03 +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 D506060D1C for ; Wed, 1 Nov 2017 13:54:02 +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 677C9E0F4E for ; Wed, 1 Nov 2017 13:54:01 +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 AAE542440B for ; Wed, 1 Nov 2017 13:54:00 +0000 (UTC) Date: Wed, 1 Nov 2017 13:54:00 +0000 (UTC) From: =?utf-8?Q?Guillermo_Rodr=C3=ADguez_Cano_=28JIRA=29?= To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AIRFLOW-1774) Better handling of templated parameters in Google ML batch prediction/training operators MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Nov 2017 13:54:07 -0000 [ https://issues.apache.org/jira/browse/AIRFLOW-1774?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillermo Rodr=C3=ADguez Cano updated AIRFLOW-1774: ---------------------------------------------- Description:=20 The {{MLEngineBatchPredictionOperator}} does not support well the templated= parameter {{job_id}} due to a helper function used to detect and cleanup b= ad job names inhibiting the templating engine to work. I suspect the same m= ay happen with {{MLEngineTrainingOperator}} as well. Google ML requieres a unique job id, therefore it is critical to have the p= ossibility to customise the job's name easily, and preferably with some dat= a related to the DAG, for example, appending the day to the job's name via = a macro like {{ds}} was: The {{MLEngineBatchPredictionOperator}} does not support well the templated= parameter {{job_id}} due to a helper function used to detect and cleanup b= ad job names inhibiting the templating engine to work.=20 Google ML requieres a unique job id, therefore it is critical to have the p= ossibility to customise the job's name easily, and preferably with some dat= a related to the DAG, for example, appending the day to the job's name via = a macro like {{ds}} > Better handling of templated parameters in Google ML batch prediction/tra= ining operators > -------------------------------------------------------------------------= --------------- > > Key: AIRFLOW-1774 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1774 > Project: Apache Airflow > Issue Type: Improvement > Components: contrib, operators > Affects Versions: Airflow 2.0, 1.9.0 > Reporter: Guillermo Rodr=C3=ADguez Cano > Priority: Normal > > The {{MLEngineBatchPredictionOperator}} does not support well the templat= ed parameter {{job_id}} due to a helper function used to detect and cleanup= bad job names inhibiting the templating engine to work. I suspect the same= may happen with {{MLEngineTrainingOperator}} as well. > Google ML requieres a unique job id, therefore it is critical to have the= possibility to customise the job's name easily, and preferably with some d= ata related to the DAG, for example, appending the day to the job's name vi= a a macro like {{ds}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)