You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My organization has a bad habit of using really big Avro schemas. What we found happens is that when AvroGenerateSpecific is used to generate specific records, the val that is added to the companion class ends up beyond the ~65k character length limit for compile-time constant strings, the length of which is encoded as a u2 unsigned int, see here . I can't link the schema here but it's about 100k characters.
(avro_schemas/compile:compileIncremental) java.lang.IllegalArgumentException: Maximum String literal length exceeded
I have a somewhat janky solution that I'm planning to PR to this repo but just in case I don't get around to it this is an issue.
The text was updated successfully, but these errors were encountered:
My organization has a bad habit of using really big Avro schemas. What we found happens is that when AvroGenerateSpecific is used to generate specific records, the
val
that is added to the companion class ends up beyond the ~65k character length limit for compile-time constant strings, the length of which is encoded as au2
unsigned int, see here . I can't link the schema here but it's about 100k characters.(avro_schemas/compile:compileIncremental) java.lang.IllegalArgumentException: Maximum String literal length exceeded
I have a somewhat janky solution that I'm planning to PR to this repo but just in case I don't get around to it this is an issue.
The text was updated successfully, but these errors were encountered: