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

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

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.16.0
    • sdk-java-core

    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

              iemejia Ismaël Mejía
              iemejia Ismaël Mejía
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              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