Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3003

In WithKeys, get coder for key more safely.

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-java-core

    Description

      In WithKeys.java currently the coder for the key type is chosen when the transform is expanded. This means that there's no way to directly get the type of the input elements, instead the type is inferred from the function or from a java Class<> object. This means there can be mismatches between the actual type of the input and the coder used.

      WithKeys should be refactored to retrieve the coder in a safer way and avoid the possibility of mismatches.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danoliveira Daniel Oliveira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: