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/04 20:17:12 UTC

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

Greg Hogan created FLINK-3877:
---------------------------------

             Summary: 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)