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:32:00 UTC

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

Derek Straka created NIFI-4880:
----------------------------------

             Summary: 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


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)