Generate specific avro parsers for schemas with more than 254 fields. The normal way avro schemas are handled is to create a case class with a var parameter for each field. A get method is also generated with a code bloc to convert each numbered field to an AnyRef. This function can exceed the JVM limit of 65536 bytes of there are many fields particularly if some are fixed types
JVM has a hard limit on parameter lists of 254
workaround by having public member vars instead
JVM has a method size limit of 65536 bytes
workaround this by having a function per field and delegate to that in the match expression
Generate specific avro parsers for schemas with more than 254 fields. The normal way avro schemas are handled is to create a case class with a var parameter for each field. A get method is also generated with a code bloc to convert each numbered field to an AnyRef. This function can exceed the JVM limit of 65536 bytes of there are many fields particularly if some are fixed types