From dev-return-7319-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Mon Jan 7 21:17:23 2019 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 CBEAD180647 for ; Mon, 7 Jan 2019 21:17:22 +0100 (CET) Received: (qmail 91351 invoked by uid 500); 7 Jan 2019 20:17:21 -0000 Mailing-List: contact dev-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.apache.org Delivered-To: mailing list dev@airflow.apache.org Received: (qmail 91339 invoked by uid 99); 7 Jan 2019 20:17:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2019 20:17:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9AB7EC1210 for ; Mon, 7 Jan 2019 20:17:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.654 X-Spam-Level: * X-Spam-Status: No, score=1.654 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.144, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id rUyb0jn3rlj5 for ; Mon, 7 Jan 2019 20:17:19 +0000 (UTC) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9BA8B60EBA for ; Mon, 7 Jan 2019 20:17:18 +0000 (UTC) Received: by mail-lj1-f177.google.com with SMTP id u89-v6so1481879lje.1 for ; Mon, 07 Jan 2019 12:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uN8Q10YY5OypUHyAiKHVctX/vfsIwydLgUJnIFPPvzk=; b=LDcST0QIgQ6qhYL/XFZbCcuWmexFXeqD7Atvt7CqT4vTmd6IrjhwHhCtOHl35P8nV/ QEaEK96qW+B8/QtceHZ9pZV8mrpqL0c7U9r3OGrV3ICP5pxycZypiJovgS8UGJjKVOZx K/wVPIoTXK4Tkq1eZtv2pwAffrLWLcIZQ2MtnekGzUVu341LM/kSQLXfTEqvJKsUfhWq XCsEopBuRUEHSrcprkyk+lVlmlE3TuQydkg34cNt/a3F2nUuinhXimHeIUI4MwmkN/Mk dWpiPvbieGPNnt++/kp5doIof09jyPTMUBTLAz+dbhazPw9NpdafkiyX86HDeyf0qgtL GWPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uN8Q10YY5OypUHyAiKHVctX/vfsIwydLgUJnIFPPvzk=; b=Gx90/aZdxYD/i7ouxMv5Im4Wav7Hs7pgWQTU5b6+1Vpf+ACr050p8oexaXkSMuisNh JaXaW8j7cnN3GOEP/lXXDKKYOCzCFp1oOAohhV7PPTm8WE4sfbJLg2rA4NvhNUjJ6yXv lAUal3QmQzbEDwjIlGns1cZL2h8MtMRFtkVQdZixbxNFc34L6XwzRW1gdKTC9/qsHns4 jieesQQH3Xkbj8w8nhCyCpc0+u93PD8u5nAGSVVSz7wvbe69UQ8jXLyPUbycOJL9X+f6 ge6oXwrpRc1PLo7Kx/E8RAV+Z8p4+MUok6Km19J/vMzvii0GbIvLE5/JM/vYfD7a/4Ls wbpQ== X-Gm-Message-State: AJcUukf5F/Pavg3J5zjRqrJsHENZVTwk4uFxK9l0/B/wHfcWF0DOt2bd ud5ZwDgfGb2pGkw7DfgbcQdhl47fmiFTLbSTQyfikdC5FBs= X-Google-Smtp-Source: ALg8bN7Moxgz2OXM4zi4y7ZfqwqvhL015Y/Szb5byIfO8Q+m/FCdKF1blgbO+/hV+UNaBcngy4UomzJZwzeQuCFxndA= X-Received: by 2002:a2e:4c0a:: with SMTP id z10-v6mr33836254lja.85.1546892231724; Mon, 07 Jan 2019 12:17:11 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Maxime Beauchemin Date: Mon, 7 Jan 2019 12:16:55 -0800 Message-ID: Subject: Re: AIP-8 Split Hooks/Operators into Separate Packages To: dev@airflow.apache.org Cc: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary="000000000000fa5383057ee3e964" --000000000000fa5383057ee3e964 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Something to think about is how data transfer operators like the MysqlToHiveOperator usually rely on 2 hooks. With a package-specific approach that may mean something like an `airflow-hive`, `airflow-mysql` and `airflow-mysql-hive` packages, where the `airflow-mysql-hive` package depends on the two other packages. It's just a matter of having a clear strategy, good naming conventions and a nice central place in the docs that centralize a list of approved packages. Max On Mon, Jan 7, 2019 at 9:05 AM Tim Swast wrote: > I've created AIP-8: > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=3D100827= 303 > > To follow-up from the discussion about splitting hooks/operators out of t= he > core Airflow package at > > http://mail-archives.apache.org/mod_mbox/airflow-dev/201809.mbox/%3C30867= 0DB-BD2A-4738-81B1-3F6FB312C0C8@apache.org%3E > > I propose packaging based on the target system, informed by the existing > hooks in both core and contrib. This will allow those with the relevant > expertise in each target system to respond to contributions / issues > without having to follow the flood of everything Airflow-related. It will > also decrease the surface area of the core package, helping with > testability and long-term maintenance. > > * =E2=80=A2 **Tim Swast* > * =E2=80=A2 *Software Friendliness Engineer > * =E2=80=A2 *Google Cloud Developer Relations > * =E2=80=A2 *Seattle, WA, USA > --000000000000fa5383057ee3e964--