julianpeeters / avrohugger

Generate Scala case class definitions from Avro schemas
Apache License 2.0
202 stars 120 forks source link

Update to avro 1.8.1 #59

Closed Khrol closed 2 years ago

Khrol commented 7 years ago

Avro 1.8.1 was released quite some time ago. Is it possible to update the plugin? https://github.com/julianpeeters/avrohugger/blob/master/project/Build.scala#L7

julianpeeters commented 7 years ago

Yes, but it's non-trivial: https://issues.apache.org/jira/browse/AVRO/fixforversion/12333322/?selectedTab=com.atlassian.jira.jira-projects-plugin:version-summary-panel

Hoping to have time this Spring or Summer, PRs welcome

julianpeeters commented 6 years ago

update: in avrohugger 1.0.0-RC8 the avro schema parser that avrohugger uses has been updated to avro version 1.8.2 (in order to support decimal logical types), available to all formats. However, SpecificRecords are still only generated on par with avro 1.7.7 (e.g. missing 1.8 features such as UUID)