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 0043C200B39 for ; Sat, 9 Jul 2016 16:48:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2FCE160A59; Sat, 9 Jul 2016 14:48: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 E0BB2160A67 for ; Sat, 9 Jul 2016 16:48:04 +0200 (CEST) Received: (qmail 74108 invoked by uid 500); 9 Jul 2016 14:48:04 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 73401 invoked by uid 99); 9 Jul 2016 14:48:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2016 14:48:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 2039CC034D; Sat, 9 Jul 2016 14:48:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id fGM7olZqHIjI; Sat, 9 Jul 2016 14:48:02 +0000 (UTC) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id E493E5FE1C; Sat, 9 Jul 2016 14:48:01 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id l188so44459918lfe.2; Sat, 09 Jul 2016 07:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=jBDWyCYKb5+Tqhd9YgljR35/C/5DZjr6DXqcezc5oN4=; b=sLgY5/ZGvNRgSyGr6ru9kqcfdOcV6UQRv3uxuSrfZS76Db9/2hx0lFFOPWDkionqan QuUsYC6p+U2HJh1kDISxTTQdP5yNtw/cOhI7KdkFxS8Q28jybsSqI5SnS/bR/EqaEB9m SFtZ6kU2AUT3k2XH84QjVmv0Mzg04WTwpsB88R9DdjWWOvUI7hJGleOqhm1FomcDHjVf 1W56aEhtYfRJVDbtbRFNG7TNUImosKlPouQPa/yYyE4Duh1WBcS8hFX1EOi79Pe/Pv47 uw0MLWB31QTz0h8lKbQSE5oN6jZcoGRLRJNx/d6uFspqEuE8XxUhASThRyJ5ZppxsMzK bDUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jBDWyCYKb5+Tqhd9YgljR35/C/5DZjr6DXqcezc5oN4=; b=EzxYq8UbMoX5CS+DVUplWN0602E+ksEdp0uDmAU51TeuoKlraw/VKxJXdjf5p4NAUn 5YKos2o6NU44fsDA4jY8b6XEFkSsE/QcVJDZ4n3ioWKLBD8/zGYSLS6SvrWGPxF9Dxnj mxBf8WyYu9IBaPJdEzpXLBXKu2brEALGyuNEL64ajHo0NMgamLTK1X0WcdSsTPdBNcgz mtvsdabjdFLdAWShWlCtTyqgZoCSbk4NDJ7Z9x5niX39xzVt5VT5inO9YLe3hXIipFW1 DU5B2zzECnR17WRr88UwhVq9dd6/acPuvmbyK3MFff8ortpSPIqUCIayR362JX5jdeH7 2VMg== X-Gm-Message-State: ALyK8tJWLwtTUZUEFoDfiQGw7OPgtvs20DJuaWn41eS4LOzQaeR3jUp+4jw49t7DYABUo32Sa0ZIfb3G1stPfg== X-Received: by 10.25.3.2 with SMTP id 2mr2315716lfd.186.1468075675358; Sat, 09 Jul 2016 07:47:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.82.40 with HTTP; Sat, 9 Jul 2016 07:47:54 -0700 (PDT) From: Le Quoc Do Date: Sat, 9 Jul 2016 16:47:54 +0200 Message-ID: Subject: sampling function To: user@flink.apache.org, dev@flink.apache.org Content-Type: multipart/alternative; boundary=001a113e55a02219d205373501ef archived-at: Sat, 09 Jul 2016 14:48:06 -0000 --001a113e55a02219d205373501ef Content-Type: text/plain; charset=UTF-8 Hi all, I'm working on approximate computing using sampling techniques. I recognized that Flink supports the sample function for Dataset (org/apache/flink/api/java/utils/DataSetUtils.java). I'm just wondering why you didn't merge the function to org/apache/flink/api/java/DataSet.java since the sample function works as a transformation operator? The second question is that are you planning to support the sample function for DataStream (within windows) since I did not see it in DataStream code ? Thank you, Do --001a113e55a02219d205373501ef--