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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0, 0.8.3
    • Component/s: Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: