Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97EC7191BE for ; Thu, 28 Apr 2016 14:51:13 +0000 (UTC) Received: (qmail 23728 invoked by uid 500); 28 Apr 2016 14:51:13 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 23668 invoked by uid 500); 28 Apr 2016 14:51:13 -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 23642 invoked by uid 99); 28 Apr 2016 14:51:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2016 14:51:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0E77D2C1F6F for ; Thu, 28 Apr 2016 14:51:13 +0000 (UTC) Date: Thu, 28 Apr 2016 14:51:13 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-3771) Methods for translating Graphs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-3771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15262260#comment-15262260 ] ASF GitHub Bot commented on FLINK-3771: --------------------------------------- Github user greghogan commented on the pull request: https://github.com/apache/flink/pull/1900#issuecomment-215451225 One can now choose between: `graph.translateEdgeValues(new LongValueToStringValue()))` `graph.run(new TranslateEdgeValues<>(new LongValueToStringValue()))` The latter is slightly longer but customizable with parallelism, etc. > Methods for translating Graphs > ------------------------------ > > Key: FLINK-3771 > URL: https://issues.apache.org/jira/browse/FLINK-3771 > Project: Flink > Issue Type: New Feature > Components: Gelly > Affects Versions: 1.1.0 > Reporter: Greg Hogan > Assignee: Greg Hogan > Fix For: 1.1.0 > > > Provide methods for translation of the type or value of graph labels, vertex values, and edge values. > Sample use cases: > * shifting graph labels in order to union generated graphs or graphs read from multiple sources > * downsizing labels or values since algorithms prefer to generate wide types which may be expensive for further computation > * changing label type for testing or benchmarking alternative code paths -- This message was sent by Atlassian JIRA (v6.3.4#6332)