[ https://issues.apache.org/jira/browse/FLINK-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15276545#comment-15276545 ]
ASF GitHub Bot commented on FLINK-3877: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/1968 > 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)