avrohugger
avrohugger copied to clipboard
Support Scala 2.10 and Schemas with more than 22 parameters
For backwards-compatibility with Scala 2.10 (Hadoop distros sadly come with Spark on Scala 2.10), do not write out case classes but simply classes when a schema has more than 22 parameters and Scala 2.10 is used.
I'll try to submit a PR soonish.
sbt-avrohugger should be able to call the right version depending on the Scala version used.
👍 Fixed in avrohugger 0.12.0, waiting on successful sbt-avrohugger update to close
Looking good, the sbt-avrohugger didn't break any scripted tests, but I will add a ManyFields scripted test to either avrohugger or sbt-avrohugger before closing (likely sbt-avrohugger after restoring and reorganizing the plugin's tests)
👍 Looking forward to scripted tests.