Hi Wes, Thanks for discovering this and bringing it to our attention. The mailing list strips attachments, so your patch is not available here. The best course of action is to submit a pull request on GitHub, or attach the patch file to the Jira directly. Let us know if you need any assistance with these processes. Thanks again.
Andy LoPresto [email protected] [email protected] PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > On Jul 25, 2017, at 11:34 AM, Wes Lawrence <[email protected]> wrote: > > Hey all, > > While building some standard templates we'd like to ship to customers, I > found an issue where the AvroSchemaRegistry throws a stack overflow > exception on Avro schemas that define a record that composes itself, e.g; > > { > "namespace": "org.apache.nifi.testing", > "name": "CompositRecord", > "type": "record", > "fields": [ > { > "name": "id", > "type": "int" > }, > { > "name": "value", > "type": "string" > }, > { > "name": "parent", > "type": [ > "null", > "CompositRecord" > ] > } > ] > } > > > The patch attached should take care of that use case, looking forward to > any feedback, and let me know if anything needs to be improved. > > --Wes
signature.asc
Description: Message signed with OpenPGP using GPGMail
