You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mike Thomsen (Jira)" <ji...@apache.org> on 2022/04/04 17:24:00 UTC

[jira] [Resolved] (NIFI-3457) ConvertAvroSchema should not require InputSchema

     [ https://issues.apache.org/jira/browse/NIFI-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Thomsen resolved NIFI-3457.
--------------------------------
    Resolution: Won't Do

nifi-kite-bundle was removed.

> ConvertAvroSchema should not require InputSchema
> ------------------------------------------------
>
>                 Key: NIFI-3457
>                 URL: https://issues.apache.org/jira/browse/NIFI-3457
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Matt Burgess
>            Priority: Major
>
> Currently, the ConvertAvroSchema processor requires both an Input and Output Schema in order to perform a conversion.  The Input Schema should only be necessary if the Avro file(s) coming in are "raw" (aka schema-less). Otherwise the schema should be in the file and if the Input Schema property is left blank, the processor should attempt to retrieve the schema from the incoming Avro file. If the incoming file is schema-less and the property is left blank, then an error bulletin can be issued, saying that no schema was found or supplied.
> The proposed changes are these:
> 1) Make the Input Schema property .required(false)
> 2) If the Input Schema property is empty, attempt to retrieve the schema from the incoming flow file. If no schema exists, issue an error
> 3) Update the processor documentation to reflect this additional behavior.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)