You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2018/02/28 19:22:00 UTC

[jira] [Resolved] (NIFI-4880) Add the ability to utilize aliases in Avro to Avro record conversion

     [ https://issues.apache.org/jira/browse/NIFI-4880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Payne resolved NIFI-4880.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

> 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
>            Assignee: Derek Straka
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> 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
(v7.6.3#76005)