You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2016/05/09 16:00:13 UTC

[jira] [Resolved] (FLINK-3877) Create TranslateFunction interface for Graph translators

     [ 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)