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

Perf.java SpecificRecord input data not working

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • java
    • None

    Description

      In FooBarSpecificRecordTest.genSingleRecord, the nicknames field is given an instance of what is returned by ArrayList.asList, which does not support the clear method. When reusing objects during a read, the clear method is used to clear the contents of array-valued fields during reading, which causes an OperationNotSupported exception. So genSingleRecord needs to change to set nicknames to a type that implements clear.

      Attachments

        Issue Links

          Activity

            People

              raymie Raymie Stata
              raymie Raymie Stata
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: