Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
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
- blocks
-
AVRO-2269 Improve usability of Perf.java
- Resolved
- links to