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 9CF57200D1F for ; Fri, 13 Oct 2017 10:40:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9B56B1609E9; Fri, 13 Oct 2017 08:40:12 +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 E09601609D1 for ; Fri, 13 Oct 2017 10:40:11 +0200 (CEST) Received: (qmail 7429 invoked by uid 500); 13 Oct 2017 08:40:11 -0000 Mailing-List: contact issues-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 issues@flink.apache.org Received: (qmail 7420 invoked by uid 99); 13 Oct 2017 08:40:11 -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; Fri, 13 Oct 2017 08:40:11 +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 32B26180931 for ; Fri, 13 Oct 2017 08:40:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id rFF-U1iGpl8l for ; Fri, 13 Oct 2017 08:40:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 26FB35F3CC for ; Fri, 13 Oct 2017 08:40:05 +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 97CCBE095C for ; Fri, 13 Oct 2017 08:40:03 +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 913C923F2E for ; Fri, 13 Oct 2017 08:40:02 +0000 (UTC) Date: Fri, 13 Oct 2017 08:40:02 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-7834) cost model (RelOptCost) extends network cost and memory cost MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 13 Oct 2017 08:40:12 -0000 [ https://issues.apache.org/jira/browse/FLINK-7834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203196#comment-16203196 ] ASF GitHub Bot commented on FLINK-7834: --------------------------------------- GitHub user godfreyhe opened a pull request: https://github.com/apache/flink/pull/4820 [FLINK-7834] [table] cost model extends network cost and memory cost ## What is the purpose of the change *This pull request makes cost model (RelOptCost) extends network cost and memory cost* ## Brief change log - *The FlinkCost extends RelOptCost and adds network cost and memory cost* - *Updates DataSetCost* - *Adds getFlinkCostFactory method in TableEnvironment to get specific FlinkCostFactory* ## Verifying this change This change is already covered by existing tests* ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no) ## Documentation - Does this pull request introduce a new feature? (yes) - If yes, how is the feature documented? (JavaDocs) You can merge this pull request into a Git repository by running: $ git pull https://github.com/godfreyhe/flink FLINK-7834 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/4820.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4820 ---- commit aea6c799391bfed62d27413c133eb1979040d188 Author: godfreyhe Date: 2017-10-13T08:12:14Z [FLINK-7834] [table] cost model extends network cost and memory cost ---- > cost model (RelOptCost) extends network cost and memory cost > ------------------------------------------------------------ > > Key: FLINK-7834 > URL: https://issues.apache.org/jira/browse/FLINK-7834 > Project: Flink > Issue Type: New Feature > Components: Table API & SQL > Reporter: godfrey he > > {{RelOptCost}} defines an interface for optimizer cost in terms of number of row processed, CPU cost, and I/O cost. Flink is a distributed framework, network and memory are also two important cost metrics which should be considered for optimizer. This feature is to extend RelOptCost. -- This message was sent by Atlassian JIRA (v6.4.14#64029)