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

Add initializing Set and NonStringKeyMap when deserialize POJO using reflection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.0
    • None
    • java
    • None

    Description

      When deserializing Set and NonStringKeyMap, it would fail when trying to instantiating new Set and Map using no arg constructor.

      Our workaround is to handle it in ReflectDatumReader following how List is being handled.

      Would be good to incorporate this improvement to the next version.

       

      Cheers,

      Ian

      Attachments

        Activity

          People

            Unassigned Unassigned
            nsuryana Novian Suryana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: