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 7E7822004C8 for ; Mon, 9 May 2016 18:00:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7D5C9160A0F; Mon, 9 May 2016 16:00:15 +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 E9FF616099C for ; Mon, 9 May 2016 18:00:14 +0200 (CEST) Received: (qmail 79634 invoked by uid 500); 9 May 2016 16:00:14 -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 79616 invoked by uid 99); 9 May 2016 16:00:14 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2016 16:00:14 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E702F2C1F5C for ; Mon, 9 May 2016 16:00:13 +0000 (UTC) Date: Mon, 9 May 2016 16:00:13 +0000 (UTC) From: "Greg Hogan (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FLINK-3877) Create TranslateFunction interface for Graph translators MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 09 May 2016 16:00:15 -0000 [ https://issues.apache.org/jira/browse/FLINK-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Hogan resolved FLINK-3877. ------------------------------- Resolution: Fixed Fixed with a27208da88390a1e5dd3ec4102064862c54eb7a0 > Create TranslateFunction interface for Graph translators > -------------------------------------------------------- > > Key: FLINK-3877 > URL: https://issues.apache.org/jira/browse/FLINK-3877 > Project: Flink > Issue Type: Bug > Components: Gelly > Affects Versions: 1.1.0 > Reporter: Greg Hogan > Assignee: Greg Hogan > Priority: Minor > Fix For: 1.1.0 > > > I now recall why FLINK-3771 had a {{Translator}} interface with a {{translate}} method taking a field for reuse: when we translate edge ID the translator must be called twice. > {{TranslateFunction}} will be modeled after {{MapFunction}} and {{RichTranslateFunction}} will be modeled after {{RichMapFunction}}. > The unit test should have caught this but I was reusing values between fields which did not detect that values were overwritten. -- This message was sent by Atlassian JIRA (v6.3.4#6332)