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

AvroIO.write without specifying a schema

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Won't Do
    • None
    • Not applicable
    • io-java-avro
    • None

    Description

      Similarly to https://issues.apache.org/jira/browse/BEAM-2677, we should be able to write to avro files using AvroIO without specifying a schema at build time. Consider the following use case: a user has a PCollection<GenericRecord> but the schema is only known while running the pipeline. AvroIO.writeGenericRecords needs the schema, but the schema is already available in GenericRecord. We should be able to call AvroIO.writeGenericRecords() with no schema.

      Attachments

        Issue Links

          Activity

            People

              echauchot Etienne Chauchot
              echauchot Etienne Chauchot
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: