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:19:00 UTC
[jira] [Commented] (NIFI-5189) If a schema is accessed using 'Use
'Schema Text' Property', the name of the schema is not available
[ https://issues.apache.org/jira/browse/NIFI-5189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16474006#comment-16474006 ]
Johannes Peter commented on NIFI-5189:
--------------------------------------
[~markap14] Will open a PR for this today
> 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
> Priority: Major
>
> 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)