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 64CE2200B9B for ; Wed, 28 Sep 2016 02:10:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6350A160AD2; Wed, 28 Sep 2016 00:10:24 +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 A9C61160AE5 for ; Wed, 28 Sep 2016 02:10:23 +0200 (CEST) Received: (qmail 50998 invoked by uid 500); 28 Sep 2016 00:10:22 -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 50989 invoked by uid 99); 28 Sep 2016 00:10:22 -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; Wed, 28 Sep 2016 00:10:22 +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 7A5B51A5DD4 for ; Wed, 28 Sep 2016 00:10:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id EngcboyjPQVc for ; Wed, 28 Sep 2016 00:10:21 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 365BD5FC22 for ; Wed, 28 Sep 2016 00:10:21 +0000 (UTC) Received: (qmail 50574 invoked by uid 99); 28 Sep 2016 00:10:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2016 00:10:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A079F2C2A67 for ; Wed, 28 Sep 2016 00:10:20 +0000 (UTC) Date: Wed, 28 Sep 2016 00:10:20 +0000 (UTC) From: "Siddharth Anand (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AIRFLOW-198) Create an latest_only_operator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 28 Sep 2016 00:10:24 -0000 [ https://issues.apache.org/jira/browse/AIRFLOW-198?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Siddharth Anand updated AIRFLOW-198: ------------------------------------ Summary: Create an latest_only_operator (was: Create an ShortCircuitIf= NotCurrentOperator) > Create an latest_only_operator > ------------------------------ > > Key: AIRFLOW-198 > URL: https://issues.apache.org/jira/browse/AIRFLOW-198 > Project: Apache Airflow > Issue Type: New Feature > Reporter: Peter Attardo > Assignee: George Leslie-Waksman > > Taken from: https://cwiki.apache.org/confluence/display/AIRFLOW/Roadmap > "For cases where we need to only run the latest in a series of task insta= nce runs and mark the others as skipped. For example, we may have job to ex= ecute a DB snapshot every day. If the DAG is paused for 5 days and then unp= aused, we don=E2=80=99t want to run all 5, just the latest. With this featu= re, we will provide =E2=80=9Ccron=E2=80=9D functionality for task schedulin= g that is not related to ETL" > I've decided to implement this as a subclass of ShortCircuitOperator - On= lyRunCurrentOperator/ShortCircuitIfNotCurrentOperator will skip downstream = if the dag run being executed is not current. -- This message was sent by Atlassian JIRA (v6.3.4#6332)