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

ReflectData thinks the instance of a java.util.Map as a record type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.3
    • 1.7.0
    • java
    • None
    • MacOSX 10.7.2
      Eclipse 3.7
      JDK1.6

    Description

      the avro's java api org.apache.avro.reflect.ReflectData.isRecord() should add the following code.

      if (datum instanceof Map) return false;

      Attachments

        1. AVRO-1056.patch
          1 kB
          Doug Cutting
        2. ReflectData.java.patch
          0.5 kB
          Kevin Zhao

        Issue Links

          Activity

            People

              kevinzhao Kevin Zhao
              kevinzhao Kevin Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: