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 37BA4200D0B for ; Wed, 27 Sep 2017 14:50:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3615E1609CA; Wed, 27 Sep 2017 12:50:05 +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 7B4B91609BC for ; Wed, 27 Sep 2017 14:50:04 +0200 (CEST) Received: (qmail 67817 invoked by uid 500); 27 Sep 2017 12:50:03 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 67808 invoked by uid 99); 27 Sep 2017 12:50:03 -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, 27 Sep 2017 12:50:03 +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 3EE9618168B for ; Wed, 27 Sep 2017 12:50:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[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 SPkQtfkCb7fk for ; Wed, 27 Sep 2017 12:50:02 +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 B75D960DB2 for ; Wed, 27 Sep 2017 12:50:01 +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 0C3EDE0012 for ; Wed, 27 Sep 2017 12:50: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 1736F24256 for ; Wed, 27 Sep 2017 12:50:00 +0000 (UTC) Date: Wed, 27 Sep 2017 12:50:00 +0000 (UTC) From: "James Xu (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-995) Apache Pig DSL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 27 Sep 2017 12:50:05 -0000 [ https://issues.apache.org/jira/browse/BEAM-995?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D161825= 02#comment-16182502 ]=20 James Xu commented on BEAM-995: ------------------------------- [~nielsbasjes] Pig actually is doing the similar thing as Beam:=20 # They both defined an unified data processing API # They both support several backends. So do pig-on-beam on either side does not have so much difference. I prefer= to do it on beam-side because: # BEAM is already doing the `support several backends` thing, let's just le= t BEAM do it, make pig focus more on its primary advantage: the friendly AP= I. # To align with other extension like SQL. For the pros to do it on pig-side you mentioned: 1. Builtin facilities for loading UDFs and UDAFs > Yes, I agree, the existing UDFs and UDAFs are very important. If we do pi= g-on-beam on beam-side, we will have something like `UDFAdapter` which will= adapt all existing UDFs, so we can use them in the new pig-on-beam. 2. Execution flow optimizer(s) > There is pipeline optimizer in BEAM, and also an optimizer in underline e= ngine(Spark, MapReduce), will pig optimizer matter so much in this context?= (I am not familiar with Pig, correct me if I am wrong) 3. A selection of execution backends. > Beam itself supports all the different backends. > Apache Pig DSL > -------------- > > Key: BEAM-995 > URL: https://issues.apache.org/jira/browse/BEAM-995 > Project: Beam > Issue Type: New Feature > Components: sdk-ideas > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > > Apache Pig is still popular and the language is not so large. > Providing a DSL using the Pig language would potentially allow more peopl= e to use Beam (at least during a transition period). -- This message was sent by Atlassian JIRA (v6.4.14#64029)