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)

Reply via email to