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

Expose a method to make an Schema coder from an Avro coder

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.16.0
    • Component/s: sdk-java-core
    • Labels:

      Description

      Avro can infer the Schema for an Avro based PCollection by using the `withBeamSchemas` method, however if the user created a PCollection with Avro objects or IndexedRecord/GenericRecord, he needs to manually set the schema (or coder). The idea is to expose a method to easily get a Schema Coder from Avro objects or Schema and the user finally can set the Schema-based coder if it needs the PCollection to behavie like a Schema-based one.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              iemejia Ismaël Mejía
              Reporter:
              iemejia Ismaël Mejía

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 6.5h
              6.5h

                Issue deployment