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

[jira] [Created] (NIFI-5189) If a schema is accessed using 'Use 'Schema Text' Property', the name of the schema is not available

Johannes Peter created NIFI-5189:
------------------------------------

             Summary: If a schema is accessed using 'Use 'Schema Text' Property', the name of the schema is not available
                 Key: NIFI-5189
                 URL: https://issues.apache.org/jira/browse/NIFI-5189
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Johannes Peter
            Assignee: Johannes Peter


If a schema is accessed using 'Use 'Schema Text' Property', the Avro schema object will be transformed to a RecordSchema using the method AvroTypeUtil.create(Schema avroSchema). This method returns a RecordSchema with an empty SchemaIdentifier. Therefore, the name of the schema cannot be accessed. The method should at least return a RecordSchema with a SchemaIdentifier containing the name of the schema. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)