GitHub user sachingsachin opened a pull request:
https://github.com/apache/avro/pull/20
AVRO-1568: Allow Java polymorphism in Avro for third-party code
The fix simply adds two APIs to ReflectData:
1) setSchema (Class clazz, Schema s);
2) setSchema (Field field, Schema s);
Github user asfgit closed the pull request at:
https://github.com/apache/avro/pull/20
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled
Hey Ryan,
I think the issue mentioned in
https://issues.apache.org/jira/browse/AVRO-1568 is still present.
Do you know if logical types fixed it somehow?
If not, we can work on merging the pull request in latest code-base.
Thanks
SG
On Thu, Feb 4, 2016 at 2:53 PM, asfgit wrote:
> Github use
SG,
I think this is addressed by logical types because you can register methods
that handle conversion between any object and how you want to store it. I
agree that we don't want to introduce inheritance, so I think this is a
good direction to go. Are you trying to use logical types for this and
r
Thanks RB,
I cannot find any example or documentation for the same.
If you can point me to some, then I will evaluate the same for my use case
and let you know how it goes.
Thanks
SG
On Mon, May 9, 2016 at 9:16 AM, Ryan Blue wrote:
> SG,
>
> I think this is addressed by logical types because y