-
Notifications
You must be signed in to change notification settings - Fork 16
Support for "map" type? #16
Comments
Yes, however the timeframe for completion is uncertain. Likely within one or two months. Pull requests welcome. |
Ok, no problem. Can you point me to the area of code that I need to look at? |
Sure. If you'd like to take a look, I've made a branch with a handful of Map tests and AvroRecord will need to be updated for them to pass. Avro takes in a ClassDef, reads its set of fields, and emits a ClassDef with new members based on those fields. Specifically, the methods For example, when AvroRecord tries to make zero-arg constructor, it needs a default value for each field, but currently doesn't know what default to use when the field is a Map. |
I'm going to start on this feature, so if by chance there has been any progress here, please share any scraps. :) |
Unfortunately, I've been extra busy recently so I haven't done much. Sorry. |
No worries at all. Maps are now supported for Scala 2.11, with release version 0.9.0. Support for Maps in 2.10 will come as well. |
This works great! Looking forward to the port to 2.10. Thanks, |
Good to hear. You can try with 2.10 by using release version 0.4.1, should be syncing with maven central in a couple hours. |
I verified that the 2.10 version works as well! |
OK great, thanks for the report. Happy Avro-ing. |
Is this something that you are planning to add?
Thanks.
The text was updated successfully, but these errors were encountered: