Hi Roger, With the change proposed in https://issues.apache.org/jira/browse/AVRO-1443, you would be able to create a specific record using a generic builder API. That means we could write a generic conversion function that creates specific records. Would that work for you? C. On Wed, Feb 5, 2014 at 10:23 AM, Roger Hoover <[EMAIL PROTECTED]>wrote:
Re: Direct conversion from Generic Record to Specific Record
SpecificData#deepCopy will make this conversion. It currently fails for enums, but the fix is easy. Here's a patch that makes that fix and demonstrates a conversion. If this change is of interest, please file an issue in Jira.