Derek Straka commented on NIFI-4880:

I'll be creating a changeset for this functionality and adding some unit tests.

> Add the ability to utilize aliases in Avro to Avro record conversion
> --------------------------------------------------------------------
>                 Key: NIFI-4880
>                 URL: https://issues.apache.org/jira/browse/NIFI-4880
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 1.5.0
>            Reporter: Derek Straka
>            Priority: Minor
> Currently, the Avro to Avro conversions will ignore fields that are not 
> mapped verbatim.  In avro schemas, it is possible for fields to be aliased to 
> one another.  It would be useful if a 1:1 mapping was not available, the 
> aliases for the field were searched to locate a prospective value and then 
> add the default.
> The functionality can be accomplished by adding some logic to 
> AvroTypeUtil::createAvroRecord.

This message was sent by Atlassian JIRA

Reply via email to