Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3877

Create TranslateFunction interface for Graph translators

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • None

    Description

      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.

      Attachments

        Activity

          People

            greghogan Greg Hogan
            greghogan Greg Hogan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: