Matt Burgess created NIFI-3457:
----------------------------------

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


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
(v6.3.15#6346)

Reply via email to