Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-312

Correctly determine the right DatumReader/Writer to use for Avro derived types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0, 0.8.3
    • Core
    • None

    Description

      Derived AvroTypes are only linked to their base AvroTypes by their schema, and so any information about how the base type needs to be read (e.g., using reflect/specific/generic datumreader/writer) is lost when the derived type is created. We need to provide a link between the record type of the base AvroType and its derived type so that derived types can be read properly.

      Attachments

        1. CRUNCH-312b.patch
          15 kB
          Josh Wills
        2. CRUNCH-312.patch
          15 kB
          Josh Wills

        Activity

          People

            jwills Josh Wills
            jwills Josh Wills
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: