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

Add Schema support for AVRO

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.10.0
    • dsl-sql
    • None

    Description

      1. Motivation

      At the moment the only way to read AVRO is through code generation with avro-compiler and JavaBeanSchema. It makes it not possible to write transforms that can work with dynamic schemas. AVRO has generic data type called GenericRecord, reading is implemented in AvroIO.

      readGenericRecords. There is a code to convert GenericRecord to Row shipped as a part of BigQueryIO. However, it doesn't support all types and nested records.

      Attachments

        Issue Links

          Activity

            People

              kanterov Gleb Kanterov
              kanterov Gleb Kanterov
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 5h 40m
                  5h 40m