[
https://issues.apache.org/jira/browse/NIFI-4880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16380883#comment-16380883
]
ASF subversion and git services commented on NIFI-4880:
-------------------------------------------------------
Commit 44bc2d41d7d1c0140fc2daac5ce957641bf983b5 in nifi's branch
refs/heads/master from [~derekstraka]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=44bc2d4 ]
NIFI-4880: Add the ability to map record based on the aliases. This closes #2474
Signed-off-by: Derek Straka <[email protected]>
Signed-off-by: Mark Payne <[email protected]>
> 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
>
> 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)