Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-103

Record objects from different packages is not supported with the reflection API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.1.0
    • 1.2.0
    • java
    • None

    Description

      Currently it is not possible to work with record objects that come from different packages with the reflection API. ReflectDatumReader's constructors require a package name to be passed in, which it later uses when trying to instantiate the data it reads. Not sure where that requirement comes from, since the namespace/ package is actually recorded as part of the meta data.

      Attachments

        1. AVRO-103.patch
          6 kB
          Eelco Hillenius

        Activity

          People

            cutting Doug Cutting
            ehillenius Eelco Hillenius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: