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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16364807#comment-16364807 ] 

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
(v7.6.3#76005)